You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
308 B

#!/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
}