Is this what you're looking for?
"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!
Rus Foster wrote:
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 ntsysv
http://www.fsck.me.uk - My blog
http://shells.fsck.me.uk - $120 for a lifetime shell account
"Windows? No... I don't think so."