3 CONF
=/etc
/pmacct
/sfacctd.conf
10 PID
=$
(pidof
-o %PPID
/usr
/sbin
/sfacctd
)
13 stat_busy
"Starting pmacct sFlow Accounting Daemon"
14 [ -z "$PID" ] && /usr
/sbin
/sfacctd
-f $CONF
23 stat_busy
"Stopping pmacct sFlow Accounting Daemon"
24 [ ! -z "$PID" ] && kill $PID &> /dev
/null
38 echo "usage: $0 {start|stop|restart}"