Click to See Complete Forum and Search --> : Stopping daemons


Dirk
11-27-2001, 01:19 AM
Where are the startup scripts in Mandrake 8.1?
/etc/rc.init and /rc.local?

DMR
11-27-2001, 02:08 AM
Not sure about 8.1, but in 8.0 the startup scripts for each runlevel are in /etc/rc.d/rcx.d, where the "x" equates to the runlevel. The entries in /etc for rc.bla or rcbla.d are just symlinks to files in /etc/rc.d. That includes rc.local and rc.sysinit. Is Mandrake 8.1 drastically different? I don't even have an /etc/rc.init on my 8.0 box.
:confused:

sixfeetsix
11-27-2001, 02:17 AM
I did the LFS and I can say Mandrake doesn't install them with the same names, but I think the startup-halt-reboot-... scripts are in:

/etc/rc.d

and subdirectories where the number in the subdirectory name represents the state of the system (from lfs)


0: halt the computer
1: single-user mode
2: multi-user mode without networking
3: multi-user mode with networking
4: reserved for customization, otherwise does the same as 3
5: same as 4, it is usually used for GUI login (like X's xdm or KDE's kdm)
6: reboot the computer


anyway good luck