home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / sysadmin / 7376 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.4 KB  |  42 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!bernina!neptune!rpajarol
  3. From: rpajarol@iiic.ethz.ch (Renato Bruno Pajarola)
  4. Subject: Re: rc.local
  5. Message-ID: <1993Jan11.120452.28087@neptune.inf.ethz.ch>
  6. Sender: rpajarol@iiic.ethz.ch
  7. Nntp-Posting-Host: c13
  8. Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH
  9. References: <1993Jan8.150428.29811@neptune.inf.ethz.ch> <1993Jan11.103345.14405@urz.unibas.ch>
  10. Distribution: Distribution: 
  11. Date: Mon, 11 Jan 1993 12:04:52 GMT
  12. Lines: 28
  13.  
  14.  
  15. I posted the question about sndplay and nppower off in the rc.local
  16. script.
  17.  
  18. I tried out the tips and the solution is in both cases:
  19. put a sleep command and then the other.
  20.  
  21. (sleep 10; /usr/bin/sndplay ...) &
  22. (sleep 10; /usr/etc/nppower off) &
  23.  
  24. I guess you have to wait until the loginwindow process is
  25. correctly started and then al the "services" have their correct
  26. behaviour.
  27.  
  28. sndplay and nppower start now after the loginwindow appears.
  29. The printer is now "Private" after logging in, and that's
  30. what I wanted.
  31.  
  32. Thanks for the tips,
  33. -------------------------------------------------------------
  34.  
  35. Name:           Renato Pajarola
  36. Country:        Switzerland
  37. Profession:     Student in Computer Science ETH Zuerich
  38. E-Mail:         rpajarol@iiic.ethz.ch
  39.  
  40. There's a hell of a good universe NeXT door; let's go ...
  41.  
  42.