On Wednesday, 19 of May 2004 15:01, Andrei Verovski wrote:
Hi,
I have put script into /etc/init.d and enabled it on runlevel 3 via YAST. However, this script must be run LAST. What I did I have renamed link "01script" to "99script" in /etc/init.d/rc.d3.
Is there more intelligent way to do the same?
each script has a comment block at the very beginning with usefull information for sorting etc. It looks like this: ### BEGIN INIT INFO # Provides: sshd # Required-Start: $network $remote_fs # Required-Stop: $network $remote_fs # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Start the sshd daemon ### END INIT INFO you have to add such a section to your script and edit to your needs (work with Required-Start option) Regards, -- Marek Chlopek