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

Re: boot scripts SOLUTION



In article <[🔎] 200207301344.23131.rtilley@vt.edu>,
R. Bradley Tilley <rtilley@vt.edu> wrote:
>The /etc/rcS.d directory is similar to the rc.local. There is a bootmisc file 
>(something like S55bootmisc).

/etc/rcS.d directory is really not like rc.local at all. For one
thing, the rc.local script in BSDs is usually run as the last
thing after all other bootscripts have run, while things in
/etc/rcS.d run as the very first jobs when booting.

>Thanks to Larry Smith for the tip. All I had to do was to place the path to 
>the script at the very end of this file and it ran at boot.

It might work, until someday you upgrade sysvinit and it has a
modified bootmisc.sh file. At that point you have a conflict.
Since it's a so-called 'conffile', it will tell you that, but
at that point you need to take action to fix things.

It's usually a good idea not to edit/change files or binaries
that belong to some debian package if you don't have to.

Mike.



Reply to: