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