On Thu, 14 Dec 2000 20:10:11 -0800
Mircea Luca <[EMAIL PROTECTED]> wrote:

> Well,AFAIK the init structure is the same(RH7.0 switched the init
> structure the Debian way as far as I've read on the net).Put your script
> in /etc/init.d then
> symlink it into the proper /etc/rcX.d (x=1-5).On my Stormix system
> default runlevel is 2.Check your /etc/inittab .If it's something really
> important like a firewall script symlink-it in /etc/rcS.d .Do a chown -c
> 0755 filename ,as is the stormix default if this is fine with you and
> done.

<gulp> I prefer to leave all this well alone. What I do is simply add a
file to /etc/rc.boot/. Make the file exectuable with 'chmod u+x' and it
will run when you reboot. Maybe not as sophisticated as using /etc/rcX.d,
and the process will not be stppoed automatically on shutdown, but for
many simple tasks it is fine. One good example I use is starting my OSS
sound driver. I have a file called 'oss' under /etc/rc.boot which looks
like this:

#!/bin/sh
/usr/local/bin/soundon

Very easy.

-- 
Phillip Deackes
Using Storm Linux 2000

_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list

Reply via email to