7 PID
=`pidof -o %PPID /opt/heimdal/sbin/kpasswdd`
10 stat_busy
"Starting Heimdal KDC"
11 if [ -z "$PID" ]; then
12 /opt
/heimdal
/sbin
/kpasswdd
&
14 if [ ! -z "$PID" -o $?
-gt 0 ]; then
17 add_daemon heimdal-kpasswdd
22 stat_busy
"Stopping Heimdal KDC"
23 [ ! -z "$PID" ] && kill $PID &> /dev
/null
27 rm_daemon heimdal-kpasswdd
37 echo "usage: $0 {start|stop|restart}"