3 # p910nd.sh This shell script takes care of starting and stopping
4 # p910nd (port 9100+n printer daemon)
5 # This script only controls the one on port 9101.
6 # You can start others if you wish.
9 # Todo: Make it fully LSB
11 # See how we were called.
15 echo -n "Starting p910nd: "
16 # default port is 1 so it will appear as p9101d on a ps
22 echo -n "Shutting down p910nd: "
25 rm -f /var
/run
/p9101.pid
35 echo "Usage: p910nd {start|stop|restart|status}"