5 # . /etc/mgetty+sendfax/faxrunq.config
7 PID
=`pidof -x -o %PPID /usr/sbin/faxrunqd`
10 stat_busy
"Starting faxrunqd"
11 if [ -z "$PID" ]; then
12 su fax
-c /usr
/sbin
/faxrunqd
&
13 # su -c /usr/sbin/faxrunqd &
15 if [ ! -z "$PID" -o $?
-gt 0 ]; then
18 PID
=`pidof -x -o %PPID /usr/sbin/faxrundq`
19 echo $PID > /var
/run
/faxrunqd.pid
25 stat_busy
"Stopping faxrunqd"
26 [ ! -z "$PID" ] && kill $PID &> /dev
/null
40 echo "usage: $0 {start|stop|restart}"