5 .
/etc
/conf.d
/automaticd
7 PID
=`pidof -o %PPID /usr/bin/automatic`
10 stat_busy
"Starting Automatic Daemon"
11 [ -z "$PID" ] && su
-l -s /bin
/sh
-c "/usr/bin/automatic $AUTOMATICD_ARGS" $AUTOMATICD_USER
20 stat_busy
"Stopping Automatic Daemon"
21 [ ! -z "$PID" ] && kill $PID &> /dev
/null
31 while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done
35 echo "usage: $0 {start|stop|restart}"