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

Re: /etc/rc?.d/S*

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:
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 ntsysv


http://www.fsck.me.uk - My blog
http://shells.fsck.me.uk - $120 for a lifetime shell account

Johan Ehnberg
"Windows? No... I don't think so."

Reply to: