Re: shell script at boottime

2000-07-17 Thread Manoj Victor Mathew
On Sun, Jul 16, 2000 at 10:00:09PM -0400, Michael Soulier wrote: > > It'd be better if you put your script in /etc/init.d/myscript.sh and > > made a /etc/rcS.d/S60myscript.sh symlink pointing to it. > > I can't seem to remember the name I saw, but isn't there a tool in > Debian for managing

Re: shell script at boottime

2000-07-16 Thread Brad
On Sun, Jul 16, 2000 at 02:51:40PM +0200, Sven Burgener wrote: > On Sun, Jul 16, 2000 at 01:55:38PM +0200, Hans wrote: > > it in /etc/init.d, then make the link /etc/rc2.d/S50boot.sh. Is this the > > proper way to do this? Thanks for the input. > > One way of doing it. Note that this only gets run

Re: shell script at boottime

2000-07-16 Thread Michael Soulier
On 16 Jul 2000, Miquel van Smoorenburg wrote: > It works fine until sysvinit comes with a new bootmisc.sh script... > It'd be better if you put your script in /etc/init.d/myscript.sh and > made a /etc/rcS.d/S60myscript.sh symlink pointing to it. I can't seem to remember the name I saw, bu

Re: shell script at boottime

2000-07-16 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Hans <[EMAIL PROTECTED]> wrote: >Thanks for the insight. Itmt I found a very easy way to set some parameters >at boottime: I amended /etc/init.d/bootmisc.sh and put hdparm and aumix >entries at the bottom. Works fine. It works fine until sysvinit comes with a new b

Re: shell script at boottime

2000-07-16 Thread Hans
Thanks for the insight. Itmt I found a very easy way to set some parameters at boottime: I amended /etc/init.d/bootmisc.sh and put hdparm and aumix entries at the bottom. Works fine. Hans At 02:51 PM 7/16/00 +0200, Sven Burgener wrote: >On Sun, Jul 16, 2000 at 01:55:38PM +0200, Hans wrote: >> As

Re: shell script at boottime

2000-07-16 Thread Chris Majewski
> What I want to do: I have a small shell script (setting hdparm, aumix, etc) > called boot.sh which I want to run when my box boots. I thought of putting > it in /etc/init.d, then make the link /etc/rc2.d/S50boot.sh. Is this the > proper way to do this? Thanks for the input. If I remember correct

Re: shell script at boottime

2000-07-16 Thread Sven Burgener
On Sun, Jul 16, 2000 at 01:55:38PM +0200, Hans wrote: > As far as I understood: > Scripts run at boottime are located in /etc/init.d You can't say that. All scripts are in there. Things in /etc/rcS.d/ are run at boot time. (See /etc/rcS.d/README for infos) What's also run at boot time are the t