Copy krb5 package from old repository

Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
W. Michael Petullo
2014-07-16 18:09:51 -04:00
committed by Steven Barth
parent f586ff7156
commit c3866b4441
5 changed files with 159 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2009 OpenWrt.org
START=60
start() {
mkdir -p /var/tmp
mkdir -p /etc/krb5kdc
[ -f /etc/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
/usr/sbin/krb5kdc
/usr/sbin/kadmind
}
stop() {
killall krb5kdc 2> /dev/null
killall kadmind 2> /dev/null
}