6 myhostname
=`hostname|sed 's/\..*$//'`
8 PID
=`pidof -o %PPID /usr/sbin/atalkd`
11 stat_busy
"Starting atalkd Daemon"
12 [ -z "$PID" ] && /usr
/sbin
/atalkd
16 echo $PID > /var
/run
/atalkd.pid
18 # Setting AppleTalk info with nbprgstr
24 stat_busy
"Stopping atalkd Daemon"
25 [ ! -z "$PID" ] && kill $PID &> /dev
/null
29 rm /var
/run
/atalkd.pid
40 echo "usage: $0 {start|stop|restart}"