jow 391cd71936 [packages] add krb5, the MIT Kerberos 5 implementation (#6101)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 19:46:07 +00:00

18 lines
259 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2009 OpenWrt.org
START=60
start() {
mkdir -p /var/tmp
mkdir -p /var/krb5kdc
[ -f /var/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
/usr/sbin/krb5kdc
}
stop() {
killall krb5kdc 2> /dev/null
}