home *** CD-ROM | disk | FTP | other *** search
-
- 'npoffd' will automatically shut off the NEXT printer when it has not been used for X seconds.
-
- Yes you can fool it if you want to.
-
- To use "npoffd" to shut off the NeXT Laser Printer, add this to /etc/rc.local
-
-
- # run daemon which will power off NeXTPrinter when not in use
- if [ -x /usr/local/etc/npoffd ]; then
- (sleep 5; /usr/local/etc/npoffd 900) &
- (echo -n ' npoffd') >/dev/console
- else
- (echo ; echo "ERROR: can't find npoffd!") >/dev/console
- fi
-
- change '900' to however many seconds you want to wait before shutting the printer off.
-
- make sure you change the path to npoffd to point to your system
-
- It will automagically turn back on when it is done...
-
- I didn't write this... see the source code for author information.
-
- TjL <luomat@peak.org>
- 20 May 1997
-
-
-