Using scripts at boottime PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Bart Dorlandt   
Friday, 10 November 2006 12:15

These commands can be used to start scripts at boottime. You see a script in the next section about cdrom group rights. I want to change those at boot time. This is what you do. Make sure you have given the script execute rights (see step3). At line 4 you can change number to a value like 99, this will cause it to be exected as last. Check the files in /etc/rc2.d/. Here you'll see the programms have numbers.

sudo cp <script> /etc/init.d/
cd /etc/init.d/
chmod u+a <script>
sudo update-rc.d <script> start <number> 2 3 4 5 .

Last Updated on Sunday, 30 November 2008 12:23
 


Related items: