Re: What is the equivalent in openSUSE to /etc/rc.d/rc.local?



On Thu, 02 Oct 2008 12:33:48 +0200, houghi wrote:

Tom wrote:
Now I want to make this setting permanent. 1. Unfortunately there is no
/etc/rc.d/rc.local in my openSUSE 11 system. What should I do in my
case?

/etc/init.d/boot.local

NB. boot.local may or may not be what you want.

boot.local is run after the boot.* scripts but BEFORE any runlevel
scripts. Whereas rc.local is normally run after the runlevel scripts.

In your case it will probably be what you want, as you are setting up a
block device that presumably will already exist by this time and won't
have any dependencies on anything that is started later.

If you do need to run you script later, you can actually create a proper
init script. There are some skeleton scripts in /etc/init.d/ that you
can use as a basis for your init script. I have had to do that for a few
things I would normally have started in rc.local, but can't do in
boot.local



--
Regards,
David Bailey
david _AT_ bailey dot id dot au
.



Relevant Pages

  • Re: Problems with PPP on boot
    ... symbolic links to your script with a number that causes your PPPoE ... init script to be run before the Bind init script and any others ... I haven't modified any of the relevant init scripts. ...
    (Debian-User)
  • Re: iproute2
    ... > hope this feature will be integrated to fedora soon. ... You say you will write code yourself as an init script. ... Would you mind to contribute good code to the existing scripts which can ... AFAIK the IPv6 setup scripts already use iproute2 to assign the IPv6 ...
    (Fedora)
  • Re: Numlock doesnt work
    ... > I don't want to type the cryptic command every time I want to write digits. ... > Is there some init script where I can add this line (as I said, ... Or you could put that in any of your login scripts or shell startup ...
    (comp.os.linux.misc)
  • [SLE] Changing runlevel priorities
    ... Does anyone knows how to change the order of the runlevel scripts? ... I have a particular init script that I would like to be executed before ... Departamento de Informática ...
    (SuSE)
  • Re: [SLE] Changing runlevel priorities
    ... > I have a particular init script that I would like to be executed before all ... > I tried with yast and chkconfig, ... lines in the scripts. ...
    (SuSE)