openSuSE11.1 order of rc scripts

Dear SUSE experts,

I have problem with order of running rc scripts. I need to ensure that rclocal starts as last rc script after all other fininished.

changing name of the link in /etc/rc.d/rc5.d when using default runlevel 5(
via
id:5:initdefault:
in /etc/inittab)

does not have efect

S01rclocal or S99rclocal names causes no difference. because rclocal runs not as last script… another 24 rc scripts strarts after rclocal.

Thnak you for any help

Yours faithfully

Peter

What is rclocal? Is it a file you created on your own?

rclocal and rc.local are standard linux scripts. It is started by init at boot-time to start own programs at boot.
It normaly starts as last of scripts. But on SUSE 11.1 there is paralel init that does not strictly use order of rc scripts

No, SuSE does not use rc.local - you should use /etc/init.d/boot.local for that purpose.

The problem with boot.local is that it’s run before going to run level 1. Nice sometimes, but not doing what rc.local would do, which is startup daemons and do jobs, after services start.

So when I needed something similar I made an /etc/init.d script to run after the standard wwwoffle startup.

There’s boiler plate, and insserv(8) is used to generate the links, so you ought not create those by hand.

Note: This template uses functions rc_XXX defined in /etc/rc.status on

UnitedLinux (UL) based Linux distributions. If you want to base your

script on this template and ensure that it works on non UL based LSB

compliant Linux distributions, you either have to provide the rc.status

functions from UL or change the script to work without them.

BEGIN INIT INFO

Provides: wwwoffled_final

Required-Start: wwwoffle $ALL

X-UnitedLinux-Should-Start: smpppd

Required-Stop: wwwoffle $ALL

X-UnitedLinux-Should-Stop: smppd

Default-Start: 3 5

Default-Stop: 0 1 2 6

Short-Description: wwwoffle_final providing setup of wwwoffled daemon

Description: wwwoffle_final controls wwwoffled mode after startup.

Generally the web proxy is set to either -online or -autodial in

/etc/sysconfig/wwwoffle, as the default is -offline.

wwwoffle_final stop puts wwwoffled offline.

END INIT INFO

Thnak you, i hope this helps