linuxOS_AP05/debian/test/etc/init.d
2025-09-26 09:40:02 +08:00
..
.depend.boot add debian 2025-09-26 09:40:02 +08:00
.depend.start add debian 2025-09-26 09:40:02 +08:00
.depend.stop add debian 2025-09-26 09:40:02 +08:00
acpid add debian 2025-09-26 09:40:02 +08:00
alsa-utils add debian 2025-09-26 09:40:02 +08:00
anacron add debian 2025-09-26 09:40:02 +08:00
binfmt-support add debian 2025-09-26 09:40:02 +08:00
bluetooth add debian 2025-09-26 09:40:02 +08:00
bootlogs add debian 2025-09-26 09:40:02 +08:00
bootmisc.sh add debian 2025-09-26 09:40:02 +08:00
brightness add debian 2025-09-26 09:40:02 +08:00
checkfs.sh add debian 2025-09-26 09:40:02 +08:00
checkroot-bootclean.sh add debian 2025-09-26 09:40:02 +08:00
checkroot.sh add debian 2025-09-26 09:40:02 +08:00
console-setup.sh add debian 2025-09-26 09:40:02 +08:00
cpufrequtils add debian 2025-09-26 09:40:02 +08:00
cron add debian 2025-09-26 09:40:02 +08:00
dbus add debian 2025-09-26 09:40:02 +08:00
halt add debian 2025-09-26 09:40:02 +08:00
hostname.sh add debian 2025-09-26 09:40:02 +08:00
hwclock.sh add debian 2025-09-26 09:40:02 +08:00
ipsec add debian 2025-09-26 09:40:02 +08:00
keyboard-setup.sh add debian 2025-09-26 09:40:02 +08:00
killprocs add debian 2025-09-26 09:40:02 +08:00
kmod add debian 2025-09-26 09:40:02 +08:00
lightdm add debian 2025-09-26 09:40:02 +08:00
lm-sensors add debian 2025-09-26 09:40:02 +08:00
loadcpufreq add debian 2025-09-26 09:40:02 +08:00
mountall-bootclean.sh add debian 2025-09-26 09:40:02 +08:00
mountall.sh add debian 2025-09-26 09:40:02 +08:00
mountdevsubfs.sh add debian 2025-09-26 09:40:02 +08:00
mountkernfs.sh add debian 2025-09-26 09:40:02 +08:00
mountnfs-bootclean.sh add debian 2025-09-26 09:40:02 +08:00
mountnfs.sh add debian 2025-09-26 09:40:02 +08:00
network-manager add debian 2025-09-26 09:40:02 +08:00
networking add debian 2025-09-26 09:40:02 +08:00
ntp add debian 2025-09-26 09:40:02 +08:00
openvpn add debian 2025-09-26 09:40:02 +08:00
pppd-dns add debian 2025-09-26 09:40:02 +08:00
procps add debian 2025-09-26 09:40:02 +08:00
rc add debian 2025-09-26 09:40:02 +08:00
rc.local add debian 2025-09-26 09:40:02 +08:00
rcS add debian 2025-09-26 09:40:02 +08:00
README add debian 2025-09-26 09:40:02 +08:00
reboot add debian 2025-09-26 09:40:02 +08:00
resize-disk.sh add debian 2025-09-26 09:40:02 +08:00
resolvconf add debian 2025-09-26 09:40:02 +08:00
rkwifibt.sh add debian 2025-09-26 09:40:02 +08:00
rmnologin add debian 2025-09-26 09:40:02 +08:00
rockchip.sh add debian 2025-09-26 09:40:02 +08:00
rsyslog add debian 2025-09-26 09:40:02 +08:00
S10atomic_commit.sh add debian 2025-09-26 09:40:02 +08:00
S99_auto_reboot add debian 2025-09-26 09:40:02 +08:00
sendsigs add debian 2025-09-26 09:40:02 +08:00
single add debian 2025-09-26 09:40:02 +08:00
ssh add debian 2025-09-26 09:40:02 +08:00
sudo add debian 2025-09-26 09:40:02 +08:00
triggerhappy add debian 2025-09-26 09:40:02 +08:00
udev add debian 2025-09-26 09:40:02 +08:00
umountfs add debian 2025-09-26 09:40:02 +08:00
umountnfs.sh add debian 2025-09-26 09:40:02 +08:00
umountroot add debian 2025-09-26 09:40:02 +08:00
urandom add debian 2025-09-26 09:40:02 +08:00
x11-common add debian 2025-09-26 09:40:02 +08:00
xl2tpd add debian 2025-09-26 09:40:02 +08:00

	Configuration of System V init under Debian GNU/Linux

Most Unix versions have a file here that describes how the scripts
in this directory work, and how the links in the /etc/rc?.d/ directories
influence system startup/shutdown.

For Debian, this information is contained in the policy manual, chapter 
"System run levels and init.d scripts".  The Debian Policy Manual is 
available at:

    http://www.debian.org/doc/debian-policy/#contents

The Debian Policy Manual is also available in the Debian package
"debian-policy".  When this package is installed, the policy manual can be
found in directory /usr/share/doc/debian-policy. If you have a browser
installed you can probably read it at

    file://localhost/usr/share/doc/debian-policy/

Some more detailed information can also be found in the files in the
/usr/share/doc/sysv-rc directory.

Debian Policy dictates that /etc/init.d/*.sh scripts must work properly
when sourced.  The following additional rules apply:

* /etc/init.d/*.sh scripts must not rely for their correct functioning
  on their being sourced rather than executed.  That is, they must work
  properly when executed too. They must include "#!/bin/sh" at the top.
  This is useful when running scripts in parallel.

* /etc/init.d/*.sh scripts must conform to the rules for sh scripts as
  spelled out in the Debian policy section entitled "Scripts" (§10.4).

Use the update-rc.d command to create symbolic links in the /etc/rc?.d
as appropriate. See that man page for more details.

All init.d scripts are expected to have a LSB style header documenting
dependencies and default runlevel settings.  The header look like this
(not all fields are required):

### BEGIN INIT INFO
# Provides:          skeleton
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      $portmap
# Should-Stop:       $portmap
# X-Start-Before:    nis
# X-Stop-After:      nis
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Interactive:     true
# Short-Description: Example initscript
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.
### END INIT INFO

More information on the format is available from insserv(8).  This
information is used to dynamicaly assign sequence numbers to the
boot scripts and to run the scripts in parallel during the boot.
See also /usr/share/doc/insserv/README.Debian.