home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / NEXTSTEP / unix / printing / nppowerd.1.0.README < prev   
Encoding:
Text File  |  1997-06-04  |  691 b   |  27 lines

  1.  
  2. nppowerd will shut off the NeXT printer after X minutes.
  3.  
  4. I am not sure but I think you start it in /etc/rc.local like this:
  5.  
  6.  
  7. if [ -x /usr/local/etc/nppowerd ]; then
  8.      (sleep 5; /usr/local/etc/nppowerd 15) &
  9.      (echo -n ' nppowerd')                                        >/dev/console
  10. else
  11.      (echo ; echo "ERROR: can't find nppowerd!")                  >/dev/console
  12. fi
  13.  
  14. change '15' to however many minutes you want to wait before shutting the printer off.
  15.  
  16. make sure you change the path to nppowerd to point to your system 
  17.  
  18. It will automagically turn back on when it is done...
  19.  
  20. I did not write this nor take any blame for anything it does
  21.  
  22. TjL <luomat@peak.org>
  23. 20 May 1997
  24.  
  25.  
  26.  
  27.