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