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