"BSD-style" init scripts,
Posted Jun 28, 2004 18:14 UTC (Mon) by
allesfresser (subscriber, #216)
In reply to:
"BSD-style" init scripts, by donio
Parent article:
A look at Slackware 10.0
>Does Slackware still use a single rc file?
No, there is a directory (/etc/rc.d) which contains a collection of rc scripts. This list is from my desktop machine:
rc.0@
rc.4*
rc.6*
rc.K*
rc.M*
rc.S*
rc.acpid*
rc.alsa*
rc.atalk
rc.bind
rc.cups*
rc.dnsmasq
rc.gpm-sample*
rc.hotplug*
rc.httpd*
rc.inet1*
rc.inet1.conf
rc.inet2*
rc.inetd*
rc.ip_forward
rc.local*
rc.lprng
rc.modules*
rc.mysqld*
rc.nfsd*
rc.portmap*
rc.samba
rc.sendmail
rc.serial*
rc.sshd*
rc.syslog*
rc.sysvinit*
rc.udev*
The rc.S script runs at startup, then rc.M runs when the system goes multiuser. rc.6 runs at restart, and rc.0 runs at shutdown. rc.4 runs when going into [xgk]dm mode. rc.K runs when going into single-user mode. All the various daemon-specific rc files are run by one or more of the preceding files at the appropriate times, or they can be run independently as, for example, '/etc/rc.d/rc.httpd start', etc.
It's a very nice, clean system if you ask me.
(
Log in to post comments)