Re: [Nolug] rc.local on Suse?

From: scotth_at_scottharney.com
Date: Tue, 13 Apr 2004 13:38:51 -0500
Message-ID: <87oepvoh8k.fsf@minorthreat.local.lan>

Brad Bendily <brad@selu.edu> writes:

>> <snip>
>> >
>> > I'll ask on #suse on irc.freenode.net and see what they say. Several of the
>> > developers hang out there.
>>
>> <mmlj4> um, i need to script commands at boot (relating to my network), but
>> boot.local isn't working for me as this script is run before the network
>> comes up. Where can I put my commands, please?
>> <the_dude> create a new script and run it after network script
>> <mmlj4> fair enough... how do I get it to run?
>> <mmlj4> or where is the network script run from?
>> <the_dude> put it in rc3.d and rc5.d and number it accordingly
>
> It's a great idea, but seems like a bit of overkill for adding
> a simple command that needs to be started at bootup?

This is pretty standard stuff for system V init scripts. (ie.
unix/linux boxes that are not BSD-derived if you really wanna "cheat".
make your /etc/init.d/init.local and do something like:
# ln -s /etc/init.d/init.local /etc/rc3.d/S99local
# ln -s /etc/init.d/init.local /etc/rc5.d/S99local

-- 
Scott Harney<scotth@scottharney.com>
"Asking the wrong questions is the leading cause of wrong answers"
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5
___________________
Nolug mailing list
nolug@nolug.org
Received on 04/13/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST