<br><br><div><span class="gmail_quote">On 9/5/05, <b class="gmail_sendername">David M. Carney</b> <<a href="mailto:carney1979@gmail.com">carney1979@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If I want to add my own startup script to be run at bootup, how do I go<br>about doing it?<br><br>
</blockquote></div><br>
Write a script. put it in the /etc/init.d/ directory.<br>
Lets say you called it FOO. You then run<br>
<br>
% update-rc.d FOO defaults<br>
<br>
You can check out <br>
% man update-rc.d for more information. It is a Debian utility to
install scripts. The option "defaults" puts a link to start FOO in run
levels 2, 3, 4 and 5. (and puts a link to stop FOO into 0, 1 and 6.)<br>
<br>
By the way, can anyone tell me what command I can use to tell what run level I am currently in?<br>
<br>
Craig<br>