Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:2475] Help with Linux shell init scripts



Quoting James Cameron (quozl@us.netrek.org):
> Bob Tanner wrote:
> > Heh. I started working on a linuxconf module last night. :-) Wasn't
> > going to say anything until I got some preliminary work done on it.
> 
> Well, you won't need anything really to get the rc.d mechanism to work
> in linuxconf.
> 
> Which reminds me, we should probably call newstartd netrekd instead, and
> so the /etc/rc.d/init.d/ file becomes netrekd too.
> 

If you look at the Vanilla.spec, you will see I have /etc/rc.d/init.d/netrek,
which will use chkconfig --add on post install and a chkconfig --del on post
uninstall. So, the run level stuff is done. I plan to test it tonight.

I am still thinking about how to run updated, should we do it via cron, like
on continuum, or should we go for the updated-self-running-simulating-cron
mode?

-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9