[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: init.d scripts boot order



Steven J. Yellin wrote:

On Sun, 4 May 2003, kaktus2 wrote:



Hello

I'd like to change my init.d scripts boot order. So I changer manually a link in /etc/rc3.d with
another ID. But my changes seem to have been "undone" during the boot sequence.
So I heard about chkconfig ... I noticed a commented line containing chkconfig instructions in
quite every script.
Do I need to manualy change the chkconfig lines in my init scripts ?
Or only apply manual chkconfig 's on the scripts ?
chkconfig --level 2345 scriptname on (off)




Type "runlevel". The second alphanumeric character it shows is the
current run level. If it's "5", then you should have changed the symbolic
link in /etc/rc5.d to get the boot order changed, not just in /etc/rc3.d. I don't think anything happens during boot to change the order of startup
from the numerical order given by the numbers after the "S" in the
symbolically linked names in /etc/rc.d/rc*.d. If you change the chkconfig
line in scriptname, then "chkconfig --level 2345 scriptname on" will setup
links with the new order in all of levels 2, 3, 4, and 5, instead of just
level 3 as you have done so far. But so far as I know, that's just a
convenient way to do it; the results should be no better than if you setup
the symbolic links by hand.




thanks.

I fixed my problems using the graphical interface tksysv
It helps a lot. Reading docs about the boot helped also :)

k.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]