[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: script to run on startup



On Tue, 2005-08-02 at 11:21 -0400, Gene Heskett wrote:

> >> i need to run a script on startup, in mandrake i should add it to
> >> /etc/locale, but i just installed debian 3.1 and i'm not sure

> >I created a file in /etc/rc2.d called S99local and put the command
> > in there.  Its probably the wrong way todo it but it works.

> In RH versions, this S99local is a softlink to /etc/rc.d/rc.local.  
> Its been heavily added to at this site as I set a few more env vars 
> there, and also setibatch and boinc are now started there.
> As its a softlink, you can add it to any of the rc#.d dirs that need 
> it.

Yeah, I created /etc/init.d/local and put S99 slinks to it in rc2, 3, 4,
and 5.d, copying some of the other startup scripts. Doesn't strike me as
particularly elegant, and it's (probably) going to get wiped by Debian
sometime in the future. But for the time being I have a /dev/tape
without having to learn the udev rules...

-- 
Glenn English
ghe@slsware.com



Reply to: