"update-rc.d my_script start XX 2 3 4 5 . stop YY 0 1 6 ."
Notice the dots. Place your script in /etc/init.d/ and the rest is obvious. 0..6 are runlevels, XX and YY simply the order (SXX and KYY).
Hope this helps!
/johan
Rus Foster wrote:
Hi All, Under debian is there a nice console based app to do the equivalent of ln -s /etc/init.d/foo /etc/rc2.d/S99foo ala chkconfig or ntsysvRgds Rus -- http://www.fsck.me.uk - My blog http://shells.fsck.me.uk - $120 for a lifetime shell account
--
Johan Ehnberg
[EMAIL PROTECTED]
"Windows? No... I don't think so."
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]