Click to See Complete Forum and Search --> : Startup script for debian


DaMasta
02-11-2001, 07:00 PM
I recently installed debian. What is the startup script. Every other distro I've used, it was rc.local. Howver this file does not exist. At least, not my installation. Thanks for your help.

rod
02-11-2001, 07:10 PM
Have a look at /etc/init.d.

Regards,
Rod

Craig McPherson
02-11-2001, 10:11 PM
Here's what I do to make what's effectively an rc.local for debian

1. Checked /etc/inittab to see what runlevel you boot into.

2. Do these commands

touch /etc/init.d/rc.local
chmod 744 /etc/init.d/rc.local
ln -s ln /etc/rcX.d/S99local /etc/init.d/rc.local
(Replace X with your runlevel... example, /etc/rc2.d)

3. Edit /etc/init.d/rc.local to your heart's content. It'll be executed last during the bootup process.

DaMasta
02-12-2001, 11:13 AM
Thanks guys.

[ 12 February 2001: Message edited by: DaMasta ]