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