Mailinglist Archive: opensuse (882 mails)

< Previous Next >
Re: [opensuse] rc.local in openSUSE
  • From: "Dr. Werner Fink" <werner@xxxxxxx>
  • Date: Tue, 14 Dec 2010 11:45:27 +0100
  • Message-id: <20101214104527.GA23650@xxxxxxxxxxxxx>
On Mon, Dec 13, 2010 at 05:02:35PM -0300, Cristian Rodríguez wrote:
El 13/12/10 16:53, Matt Hayes escribió:
On 12/13/2010 2:51 PM, Andrew Joakimsen wrote:
Is there a simple way to run commands during the boot process, but
after init scripts are run in openSUSE, sort of like rc.local file in
other distributions? I was told that boot.local is the same in
openSUSE, but these commands run before the init scripts.


Andrew,

You're looking for /etc/rc.d/boot.local

Nope, boot.local is not what rc.local does.

You have to create an init script, with the provided template, that runs
after $ALL services instead.

Or you create

/etc/init.d/before.local

for executing it before all runlevel scripts and

/etc/init.d/after.local

for executing it after all runlevel scripts.
Don't know if this works with systemd.

Werner

--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >