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

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!gatech!psuvax1!news.cc.swarthmore.edu!ralph.cs.haverford.edu!eoliver
  3. From: eoliver@ralph.cs.haverford.edu (Erik Oliver)
  4. Subject: Re: rc.local
  5. Message-ID: <4CMWBJFH@cc.swarthmore.edu>
  6. Sender: news@cc.swarthmore.edu (USENET News System)
  7. Nntp-Posting-Host: ralph.cs.haverford.edu
  8. Organization: Haverford College Computer Science Department
  9. References: <1993Jan8.150428.29811@neptune.inf.ethz.ch>
  10. Date: Sat, 9 Jan 1993 16:22:04 GMT
  11. Lines: 36
  12.  
  13. In article <1993Jan8.150428.29811@neptune.inf.ethz.ch> rpajarol@iiic.ethz.ch (Renato Bruno Pajarola) writes:
  14. >Hi people,
  15. >since I have the new NextStep3.0, over all it's very good, I can't do
  16. >some things I did bevore.
  17. >
  18. >Especially things I want to do at boot-up time.
  19. >
  20. >In NS2.1 I had entries in the rc.local to play a sound and to power the
  21. >printer off. The entries looked something like this:
  22. >
  23. >sndplay /LocalLibrary/Sounds/mysound.snd &
  24. >
  25. >...
  26. >
  27. >nppower off
  28. >
  29. >...
  30. >
  31. >
  32.  
  33. As a rule of thumb, you should include full paths in 'rc' and 'cron'
  34. run scripts because frequently environment variables that might normally
  35. assist unix in finding executables are not avaialable.  
  36.  
  37. Peraps under 2.0 either the PATH environement was set somehow by the
  38. time rc.local ran or these executables were stored somewhere different,
  39. I can't say.
  40.  
  41. But, I would suggest trying to type the whole path out:
  42. eg: /usr/bin/runthisapp 
  43.  
  44. Etc.  Also, there may be some issues involving when disk mounting occurs
  45. preventing the sounds from playing.  (I can't really say.)
  46.  
  47. -Erik
  48.  
  49.