[Pkg-sysvinit-devel] Bug#668354: Bug#668354: sysv-rc: doesn't start service at boot due to high S98 number
Teodor MICU
mteodor at gmail.com
Wed Apr 11 10:36:05 UTC 2012
2012/4/11 Petter Reinholdtsen <pere at hungry.com>:
> Hi. This sound very strange. Can you provide the output from
> /usr/share/insserv/make-testsuite ?
Attached. The first is before changing back the links to S98/K02 (the
links are correctly set to S01/K01 by update-rc.d), the second is the
one with links S98/K02 set manually.
One could probably reproduce this with a bogus init.d script that
contains only the LSB headers and manually set the links like this:
# for t in 2 3 4 5; do ln -s ../init.d/NEWSRV /etc/rc${t}.d/S98NEWSRV; done
# for t in 0 1 6; do ln -s ../init.d/NEWSRV /etc/rc${t}.d/K02NEWSRV; done
Thanks
-------------- next part --------------
root at musehost:~# /usr/share/insserv/make-testsuite
set +C
cat <<'EOF' > $insconf
$local_fs +mountall +mountoverflowtmp +umountfs
$network +networking +ifupdown
$named +named +dnsmasq +lwresd +bind9 $network
$remote_fs $local_fs +mountnfs +mountnfs-bootclean +umountnfs +sendsigs
$syslog +rsyslog +sysklogd +syslog-ng +dsyslog +inetutils-syslogd
$portmap portmap
$time +hwclock
<interactive> glibc udev console-screen keymap keyboard-setup console-setup cryptdisks cryptdisks-early checkfs-loop
EOF
set -C
addscript acpid <<'EOF'
### BEGIN INIT INFO
# Provides: acpid
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# X-Start-Before: kdm gdm xdm hal
# X-Stop-After: kdm gdm xdm hal
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Start the Advanced Configuration and Power Interface daemon
# Description: Provide a socket for X11, hald and others to multiplex
# kernel ACPI events.
### END INIT INFO
EOF
addscript atop <<'EOF'
### BEGIN INIT INFO
# Provides: atop
# Required-Start: $syslog
# Required-Stop: $syslog
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Monitor for system resources and process activity
# Description: Atop is an ASCII full-screen performance monitor,
# similar to the top command, but atop only shows
# the active system-resources and processes, and
# only shows the deviations since the previous
# interval.
### END INIT INFO
EOF
addscript bootlogd <<'EOF'
### BEGIN INIT INFO
# Provides: bootlogd
# Required-Start: mountdevsubfs
# X-Start-Before: hostname keymap keyboard-setup procps pcmcia hwclock hwclockfirst hdparm hibernate-cleanup lvm2
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Start or stop bootlogd.
# Description: Starts or stops the bootlogd log program
# which logs boot messages.
### END INIT INFO
EOF
addscript bootlogs <<'EOF'
### BEGIN INIT INFO
# Provides: bootlogs
# Required-Start: hostname $local_fs
# Required-Stop:
# Should-Start: $x-display-manager gdm kdm xdm ldm sdm wdm nodm
# Default-Start: 1 2 3 4 5
# Default-Stop:
# Short-Description: Log file handling to be done during bootup.
# Description: Various things that don't need to be done particularly
# early in the boot, just before getty is run.
### END INIT INFO
EOF
addscript bootmisc.sh <<'EOF'
### BEGIN INIT INFO
# Provides: bootmisc
# Required-Start: $remote_fs
# Required-Stop:
# Should-Start: udev
# Default-Start: S
# Default-Stop:
# Short-Description: Miscellaneous things to be done during bootup.
# Description: Some cleanup. Note, it need to run after mountnfs-bootclean.sh.
### END INIT INFO
EOF
addscript checkfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: checkfs
# Required-Start: checkroot
# Required-Stop:
# Should-Start: mtab
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Check all filesystems.
### END INIT INFO
EOF
addscript checkroot.sh <<'EOF'
### BEGIN INIT INFO
# Provides: checkroot
# Required-Start: mountdevsubfs hostname
# Required-Stop:
# Should-Start: keymap hwclockfirst hdparm bootlogd
# Should-stop:
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Check to root file system.
### END INIT INFO
EOF
addscript console-setup <<'EOF'
### BEGIN INIT INFO
# Provides: console-setup
# Required-Start: $remote_fs
# Required-Stop:
# Should-Start: console-screen kbd
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Set console font and keymap
### END INIT INFO
EOF
addscript cron <<'EOF'
### BEGIN INIT INFO
# Provides: cron
# Required-Start: $remote_fs $syslog $time
# Required-Stop: $remote_fs $syslog $time
# Should-Start: $named slapd autofs ypbind nscd nslcd
# Should-Stop: $named slapd autofs ypbind nscd nslcd
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Regular background program processing daemon
# Description: cron is a standard UNIX program that runs user-specified
# programs at periodic scheduled times. vixie cron adds a
# number of features to the basic UNIX cron, including better
# security and more powerful configuration options.
### END INIT INFO
EOF
addscript halt <<'EOF'
### BEGIN INIT INFO
# Provides: halt
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop: 0
# Short-Description: Execute the halt command.
# Description:
### END INIT INFO
EOF
addscript hostname.sh <<'EOF'
### BEGIN INIT INFO
# Provides: hostname
# Required-Start:
# Required-Stop:
# Should-Start: glibc
# Default-Start: S
# Default-Stop:
# Short-Description: Set hostname based on /etc/hostname
# Description: Read the machines hostname from /etc/hostname, and
# update the kernel value with this value. If
# /etc/hostname is empty, the current kernel value
# for hostname is used. If the kernel value is
# empty, the value 'localhost' is used.
### END INIT INFO
EOF
addscript hwclock.sh <<'EOF'
### BEGIN INIT INFO
# Provides: hwclock
# Required-Start: checkroot
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
EOF
addscript hwclockfirst.sh <<'EOF'
### BEGIN INIT INFO
# Provides: hwclockfirst
# Required-Start: mountdevsubfs
# Required-Stop:
# Default-Start: S
# X-Start-Before: checkroot
# Default-Stop:
### END INIT INFO
EOF
addscript ifupdown <<'EOF'
### BEGIN INIT INFO
# Provides: ifupdown
# Required-Start: ifupdown-clean
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Prepare the system for taking up interfaces.
### END INIT INFO
EOF
addscript ifupdown-clean <<'EOF'
### BEGIN INIT INFO
# Provides: ifupdown-clean
# Required-Start: checkroot
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Clean old interface status info during boot.
### END INIT INFO
EOF
addscript kbd <<'EOF'
### BEGIN INIT INFO
# Provides: kbd
# Required-Start: $remote_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Description: Set console screen modes and fonts
# Short-Description: Prepare console
### END INIT INFO
EOF
addscript keyboard-setup <<'EOF'
### BEGIN INIT INFO
# Provides: keyboard-setup
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: keymap udev
# X-Start-Before: checkroot
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Set preliminary keymap
# Description: Set the console keyboard as early as possible
# so during the file systems checks the administrator
# can interact. At this stage of the boot process
# only the ASCII symbols are supported.
### END INIT INFO
EOF
addscript killprocs <<'EOF'
### BEGIN INIT INFO
# Provides: killprocs
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Short-Description: executed by init(8) upon entering runlevel 1 (single).
### END INIT INFO
EOF
addscript module-init-tools <<'EOF'
### BEGIN INIT INFO
# Provides: module-init-tools
# Required-Start:
# Required-Stop:
# Should-Start: checkroot
# Should-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Process /etc/modules.
# Description: Load the modules listed in /etc/modules.
### END INIT INFO
EOF
addscript mountall-bootclean.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountall-bootclean
# Required-Start: mountall
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: bootclean after mountall.
# Description: Clean temporary filesystems after
# all local filesystems have been mounted.
### END INIT INFO
EOF
addscript mountall.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountall
# Required-Start: checkfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Mount all filesystems.
# Description:
### END INIT INFO
EOF
addscript mountdevsubfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountdevsubfs
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: udev
# Default-Start: S
# Default-Stop:
# Short-Description: Mount special file systems under /dev.
# Description: Mount the virtual filesystems the kernel provides
# that ordinarily live under the /dev filesystem.
### END INIT INFO
EOF
addscript mountkernfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountkernfs
# Required-Start:
# Required-Stop:
# Should-Start: glibc
# Default-Start: S
# Default-Stop:
# Short-Description: Mount kernel virtual file systems.
# Description: Mount initial set of virtual filesystems the kernel
# provides and that are required by everything.
### END INIT INFO
EOF
addscript mountnfs-bootclean.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountnfs-bootclean
# Required-Start: $local_fs mountnfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: bootclean after mountnfs.
# Description: Clean temporary filesystems after
# network filesystems have been mounted.
### END INIT INFO
EOF
addscript mountnfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountnfs
# Required-Start: $local_fs
# Required-Stop:
# Should-Start: $network $portmap nfs-common udev-mtab
# Default-Start: S
# Default-Stop:
# Short-Description: Wait for network file systems to be mounted
# Description: Network file systems are mounted by
# /etc/network/if-up.d/mountnfs in the background
# when interfaces are brought up; this script waits
# for them to be mounted before carrying on.
### END INIT INFO
EOF
addscript mountoverflowtmp <<'EOF'
### BEGIN INIT INFO
# Provides: mountoverflowtmp
# Required-Start: mountall-bootclean
# Required-Stop: umountfs
# Default-Start: S
# Default-Stop:
# Short-Description: mount emergency /tmp.
# Description: Mount a tmpfs on /tmp if there would
# otherwise be too little space to log in.
### END INIT INFO
EOF
addscript mtab.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mtab
# Required-Start: checkroot
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Update mtab file.
# Description: Update the mount program's mtab file after
# all local filesystems have been mounted.
### END INIT INFO
EOF
addscript muse <<'EOF'
### BEGIN INIT INFO
# Provides: muse
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Muse -- Multi-user Universal Searching Environment
# Description: Meta script used to handle all Muse servers:
# - ICE: Information Connection Engine;
# - Tomcat: web server interface (servlets engine);
# - HTTP: web server interface (servlets engine);
# - Proxy: used by Muse Navigation Manager;
# - Z39.50.
### END INIT INFO
EOF
addscript networking <<'EOF'
### BEGIN INIT INFO
# Provides: networking
# Required-Start: mountkernfs $local_fs
# Required-Stop: $local_fs
# Should-Start: ifupdown
# Should-Stop: ifupdown
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Raise network interfaces.
### END INIT INFO
EOF
addscript procps <<'EOF'
### BEGIN INIT INFO
# Provides: procps
# Required-Start: mountkernfs $local_fs
# Required-Stop:
# Should-Start: udev module-init-tools
# Default-Start: S
# Default-Stop:
# Short-Description: Configure kernel parameters at boottime
# Description: Loads kernel parameters that are specified in /etc/sysctl.conf
### END INIT INFO
EOF
addscript rc.local <<'EOF'
### BEGIN INIT INFO
# Provides: rc.local
# Required-Start: $remote_fs $syslog $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO
EOF
addscript reboot <<'EOF'
### BEGIN INIT INFO
# Provides: reboot
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop: 6
# Short-Description: Execute the reboot command.
# Description:
### END INIT INFO
EOF
addscript rmnologin <<'EOF'
### BEGIN INIT INFO
# Provides: rmnologin
# Required-Start: $remote_fs $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Remove /etc/nologin at boot
# Description: This script removes the /etc/nologin file as the
# last step in the boot process, if DELAYLOGIN=yes.
# If DELAYLOGIN=no, /etc/nologin was not created by
# bootmisc earlier in the boot process.
### END INIT INFO
EOF
addscript rsync <<'EOF'
### BEGIN INIT INFO
# Provides: rsyncd
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $named
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: fast remote file copy program daemon
# Description: rsync is a program that allows files to be copied to and
# from remote machines in much the same way as rcp.
# This provides rsyncd daemon functionality.
### END INIT INFO
EOF
addscript rsyslog <<'EOF'
### BEGIN INIT INFO
# Provides: rsyslog
# Required-Start: $remote_fs $time
# Required-Stop: umountnfs $time
# X-Stop-After: sendsigs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: enhanced syslogd
# Description: Rsyslog is an enhanced multi-threaded syslogd.
# It is quite compatible to stock sysklogd and can be
# used as a drop-in replacement.
### END INIT INFO
EOF
addscript sendsigs <<'EOF'
### BEGIN INIT INFO
# Provides: sendsigs
# Required-Start:
# Required-Stop: umountnfs
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Kill all remaining processes.
# Description:
### END INIT INFO
EOF
addscript single <<'EOF'
### BEGIN INIT INFO
# Provides: single
# Required-Start: $local_fs $all killprocs
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Short-Description: executed by init(8) upon entering runlevel 1 (single).
### END INIT INFO
EOF
addscript ssh <<'EOF'
### BEGIN INIT INFO
# Provides: sshd
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: OpenBSD Secure Shell server
### END INIT INFO
EOF
addscript stop-bootlogd <<'EOF'
### BEGIN INIT INFO
# Provides: stop-bootlogd
# Required-Start: $local_fs $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Stop bootlogd
# Description: See the init.d/bootlogd script
### END INIT INFO
EOF
addscript stop-bootlogd-single <<'EOF'
### BEGIN INIT INFO
# Provides: stop-bootlogd-single
# Required-Start: $local_fs $all
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Stop bootlogd in single user mode
# Description: See the init.d/bootlogd script
### END INIT INFO
EOF
addscript udev <<'EOF'
### BEGIN INIT INFO
# Provides: udev
# Required-Start: mountkernfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Start udevd, populate /dev and load drivers.
### END INIT INFO
EOF
addscript udev-mtab <<'EOF'
### BEGIN INIT INFO
# Provides: udev-mtab
# Required-Start: udev $local_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Add to mtab the entry for /dev.
### END INIT INFO
EOF
addscript umountfs <<'EOF'
### BEGIN INIT INFO
# Provides: umountfs
# Required-Start:
# Required-Stop: umountroot
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Turn off swap and unmount all local file systems.
# Description:
### END INIT INFO
EOF
addscript umountnfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: umountnfs
# Required-Start:
# Required-Stop: umountfs
# Should-Stop: $network $portmap nfs-common
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Unmount all network filesystems except the root fs.
# Description: Also unmounts all virtual filesystems (proc,
# devpts, usbfs, sysfs) that are not mounted at the
# top level.
### END INIT INFO
EOF
addscript umountroot <<'EOF'
### BEGIN INIT INFO
# Provides: umountroot
# Required-Start:
# Required-Stop:
# Should-Stop: halt reboot kexec
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Mount the root filesystem read-only.
### END INIT INFO
EOF
addscript urandom <<'EOF'
### BEGIN INIT INFO
# Provides: urandom
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Save and restore random seed between restarts.
# Description: This script saves the random seed between restarts.
# It is called from the boot, halt and reboot scripts.
### END INIT INFO
EOF
addscript x11-common <<'EOF'
### BEGIN INIT INFO
# Provides: x11-common
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop:
### END INIT INFO
EOF
cd $tmpdir/etc
mkdir rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rcS.d
ln -s ../init.d/atop rc0.d/K01atop
ln -s ../init.d/muse rc0.d/K01muse
ln -s ../init.d/urandom rc0.d/K01urandom
ln -s ../init.d/sendsigs rc0.d/K02sendsigs
ln -s ../init.d/rsyslog rc0.d/K03rsyslog
ln -s ../init.d/hwclock.sh rc0.d/K04hwclock.sh
ln -s ../init.d/umountnfs.sh rc0.d/K04umountnfs.sh
ln -s ../init.d/networking rc0.d/K05networking
ln -s ../init.d/ifupdown rc0.d/K06ifupdown
ln -s ../init.d/umountfs rc0.d/K07umountfs
ln -s ../init.d/umountroot rc0.d/K08umountroot
ln -s ../init.d/halt rc0.d/K09halt
ln -s ../init.d/atop rc1.d/K01atop
ln -s ../init.d/muse rc1.d/K01muse
ln -s ../init.d/rsyslog rc1.d/K03rsyslog
ln -s ../init.d/killprocs rc1.d/S01killprocs
ln -s ../init.d/bootlogs rc1.d/S03bootlogs
ln -s ../init.d/single rc1.d/S04single
ln -s ../init.d/muse rc2.d/S01muse
ln -s ../init.d/rsyslog rc2.d/S01rsyslog
ln -s ../init.d/acpid rc2.d/S02acpid
ln -s ../init.d/atop rc2.d/S02atop
ln -s ../init.d/cron rc2.d/S02cron
ln -s ../init.d/rsync rc2.d/S02rsync
ln -s ../init.d/ssh rc2.d/S02ssh
ln -s ../init.d/bootlogs rc2.d/S03bootlogs
ln -s ../init.d/rc.local rc2.d/S04rc.local
ln -s ../init.d/rmnologin rc2.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc2.d/S04stop-bootlogd
ln -s ../init.d/muse rc3.d/S01muse
ln -s ../init.d/rsyslog rc3.d/S01rsyslog
ln -s ../init.d/acpid rc3.d/S02acpid
ln -s ../init.d/atop rc3.d/S02atop
ln -s ../init.d/cron rc3.d/S02cron
ln -s ../init.d/rsync rc3.d/S02rsync
ln -s ../init.d/ssh rc3.d/S02ssh
ln -s ../init.d/bootlogs rc3.d/S03bootlogs
ln -s ../init.d/rc.local rc3.d/S04rc.local
ln -s ../init.d/rmnologin rc3.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc3.d/S04stop-bootlogd
ln -s ../init.d/muse rc4.d/S01muse
ln -s ../init.d/rsyslog rc4.d/S01rsyslog
ln -s ../init.d/acpid rc4.d/S02acpid
ln -s ../init.d/atop rc4.d/S02atop
ln -s ../init.d/cron rc4.d/S02cron
ln -s ../init.d/rsync rc4.d/S02rsync
ln -s ../init.d/ssh rc4.d/S02ssh
ln -s ../init.d/bootlogs rc4.d/S03bootlogs
ln -s ../init.d/rc.local rc4.d/S04rc.local
ln -s ../init.d/rmnologin rc4.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc4.d/S04stop-bootlogd
ln -s ../init.d/muse rc5.d/S01muse
ln -s ../init.d/rsyslog rc5.d/S01rsyslog
ln -s ../init.d/acpid rc5.d/S02acpid
ln -s ../init.d/atop rc5.d/S02atop
ln -s ../init.d/cron rc5.d/S02cron
ln -s ../init.d/rsync rc5.d/S02rsync
ln -s ../init.d/ssh rc5.d/S02ssh
ln -s ../init.d/bootlogs rc5.d/S03bootlogs
ln -s ../init.d/rc.local rc5.d/S04rc.local
ln -s ../init.d/rmnologin rc5.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc5.d/S04stop-bootlogd
ln -s ../init.d/atop rc6.d/K01atop
ln -s ../init.d/muse rc6.d/K01muse
ln -s ../init.d/urandom rc6.d/K01urandom
ln -s ../init.d/sendsigs rc6.d/K02sendsigs
ln -s ../init.d/rsyslog rc6.d/K03rsyslog
ln -s ../init.d/hwclock.sh rc6.d/K04hwclock.sh
ln -s ../init.d/umountnfs.sh rc6.d/K04umountnfs.sh
ln -s ../init.d/networking rc6.d/K05networking
ln -s ../init.d/ifupdown rc6.d/K06ifupdown
ln -s ../init.d/umountfs rc6.d/K07umountfs
ln -s ../init.d/umountroot rc6.d/K08umountroot
ln -s ../init.d/reboot rc6.d/K09reboot
ln -s ../init.d/mountkernfs.sh rcS.d/S01mountkernfs.sh
ln -s ../init.d/udev rcS.d/S02udev
ln -s ../init.d/mountdevsubfs.sh rcS.d/S03mountdevsubfs.sh
ln -s ../init.d/bootlogd rcS.d/S04bootlogd
ln -s ../init.d/keyboard-setup rcS.d/S05keyboard-setup
ln -s ../init.d/hostname.sh rcS.d/S06hostname.sh
ln -s ../init.d/hwclockfirst.sh rcS.d/S06hwclockfirst.sh
ln -s ../init.d/checkroot.sh rcS.d/S07checkroot.sh
ln -s ../init.d/hwclock.sh rcS.d/S08hwclock.sh
ln -s ../init.d/ifupdown-clean rcS.d/S08ifupdown-clean
ln -s ../init.d/module-init-tools rcS.d/S08module-init-tools
ln -s ../init.d/mtab.sh rcS.d/S08mtab.sh
ln -s ../init.d/checkfs.sh rcS.d/S09checkfs.sh
ln -s ../init.d/ifupdown rcS.d/S10ifupdown
ln -s ../init.d/mountall.sh rcS.d/S10mountall.sh
ln -s ../init.d/mountall-bootclean.sh rcS.d/S11mountall-bootclean.sh
ln -s ../init.d/mountoverflowtmp rcS.d/S12mountoverflowtmp
ln -s ../init.d/networking rcS.d/S13networking
ln -s ../init.d/procps rcS.d/S13procps
ln -s ../init.d/udev-mtab rcS.d/S13udev-mtab
ln -s ../init.d/urandom rcS.d/S13urandom
ln -s ../init.d/x11-common rcS.d/S13x11-common
ln -s ../init.d/mountnfs.sh rcS.d/S14mountnfs.sh
ln -s ../init.d/mountnfs-bootclean.sh rcS.d/S15mountnfs-bootclean.sh
ln -s ../init.d/kbd rcS.d/S16kbd
ln -s ../init.d/console-setup rcS.d/S17console-setup
ln -s ../init.d/bootmisc.sh rcS.d/S18bootmisc.sh
ln -s ../init.d/stop-bootlogd-single rcS.d/S19stop-bootlogd-single
list_rclinks
-------------- next part --------------
root at musehost:~# /usr/share/insserv/make-testsuite
set +C
cat <<'EOF' > $insconf
$local_fs +mountall +mountoverflowtmp +umountfs
$network +networking +ifupdown
$named +named +dnsmasq +lwresd +bind9 $network
$remote_fs $local_fs +mountnfs +mountnfs-bootclean +umountnfs +sendsigs
$syslog +rsyslog +sysklogd +syslog-ng +dsyslog +inetutils-syslogd
$portmap portmap
$time +hwclock
<interactive> glibc udev console-screen keymap keyboard-setup console-setup cryptdisks cryptdisks-early checkfs-loop
EOF
set -C
addscript acpid <<'EOF'
### BEGIN INIT INFO
# Provides: acpid
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# X-Start-Before: kdm gdm xdm hal
# X-Stop-After: kdm gdm xdm hal
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Start the Advanced Configuration and Power Interface daemon
# Description: Provide a socket for X11, hald and others to multiplex
# kernel ACPI events.
### END INIT INFO
EOF
addscript atop <<'EOF'
### BEGIN INIT INFO
# Provides: atop
# Required-Start: $syslog
# Required-Stop: $syslog
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Monitor for system resources and process activity
# Description: Atop is an ASCII full-screen performance monitor,
# similar to the top command, but atop only shows
# the active system-resources and processes, and
# only shows the deviations since the previous
# interval.
### END INIT INFO
EOF
addscript bootlogd <<'EOF'
### BEGIN INIT INFO
# Provides: bootlogd
# Required-Start: mountdevsubfs
# X-Start-Before: hostname keymap keyboard-setup procps pcmcia hwclock hwclockfirst hdparm hibernate-cleanup lvm2
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Start or stop bootlogd.
# Description: Starts or stops the bootlogd log program
# which logs boot messages.
### END INIT INFO
EOF
addscript bootlogs <<'EOF'
### BEGIN INIT INFO
# Provides: bootlogs
# Required-Start: hostname $local_fs
# Required-Stop:
# Should-Start: $x-display-manager gdm kdm xdm ldm sdm wdm nodm
# Default-Start: 1 2 3 4 5
# Default-Stop:
# Short-Description: Log file handling to be done during bootup.
# Description: Various things that don't need to be done particularly
# early in the boot, just before getty is run.
### END INIT INFO
EOF
addscript bootmisc.sh <<'EOF'
### BEGIN INIT INFO
# Provides: bootmisc
# Required-Start: $remote_fs
# Required-Stop:
# Should-Start: udev
# Default-Start: S
# Default-Stop:
# Short-Description: Miscellaneous things to be done during bootup.
# Description: Some cleanup. Note, it need to run after mountnfs-bootclean.sh.
### END INIT INFO
EOF
addscript checkfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: checkfs
# Required-Start: checkroot
# Required-Stop:
# Should-Start: mtab
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Check all filesystems.
### END INIT INFO
EOF
addscript checkroot.sh <<'EOF'
### BEGIN INIT INFO
# Provides: checkroot
# Required-Start: mountdevsubfs hostname
# Required-Stop:
# Should-Start: keymap hwclockfirst hdparm bootlogd
# Should-stop:
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Check to root file system.
### END INIT INFO
EOF
addscript console-setup <<'EOF'
### BEGIN INIT INFO
# Provides: console-setup
# Required-Start: $remote_fs
# Required-Stop:
# Should-Start: console-screen kbd
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Set console font and keymap
### END INIT INFO
EOF
addscript cron <<'EOF'
### BEGIN INIT INFO
# Provides: cron
# Required-Start: $remote_fs $syslog $time
# Required-Stop: $remote_fs $syslog $time
# Should-Start: $named slapd autofs ypbind nscd nslcd
# Should-Stop: $named slapd autofs ypbind nscd nslcd
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Regular background program processing daemon
# Description: cron is a standard UNIX program that runs user-specified
# programs at periodic scheduled times. vixie cron adds a
# number of features to the basic UNIX cron, including better
# security and more powerful configuration options.
### END INIT INFO
EOF
addscript halt <<'EOF'
### BEGIN INIT INFO
# Provides: halt
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop: 0
# Short-Description: Execute the halt command.
# Description:
### END INIT INFO
EOF
addscript hostname.sh <<'EOF'
### BEGIN INIT INFO
# Provides: hostname
# Required-Start:
# Required-Stop:
# Should-Start: glibc
# Default-Start: S
# Default-Stop:
# Short-Description: Set hostname based on /etc/hostname
# Description: Read the machines hostname from /etc/hostname, and
# update the kernel value with this value. If
# /etc/hostname is empty, the current kernel value
# for hostname is used. If the kernel value is
# empty, the value 'localhost' is used.
### END INIT INFO
EOF
addscript hwclock.sh <<'EOF'
### BEGIN INIT INFO
# Provides: hwclock
# Required-Start: checkroot
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
EOF
addscript hwclockfirst.sh <<'EOF'
### BEGIN INIT INFO
# Provides: hwclockfirst
# Required-Start: mountdevsubfs
# Required-Stop:
# Default-Start: S
# X-Start-Before: checkroot
# Default-Stop:
### END INIT INFO
EOF
addscript ifupdown <<'EOF'
### BEGIN INIT INFO
# Provides: ifupdown
# Required-Start: ifupdown-clean
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Prepare the system for taking up interfaces.
### END INIT INFO
EOF
addscript ifupdown-clean <<'EOF'
### BEGIN INIT INFO
# Provides: ifupdown-clean
# Required-Start: checkroot
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Clean old interface status info during boot.
### END INIT INFO
EOF
addscript kbd <<'EOF'
### BEGIN INIT INFO
# Provides: kbd
# Required-Start: $remote_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Description: Set console screen modes and fonts
# Short-Description: Prepare console
### END INIT INFO
EOF
addscript keyboard-setup <<'EOF'
### BEGIN INIT INFO
# Provides: keyboard-setup
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: keymap udev
# X-Start-Before: checkroot
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Set preliminary keymap
# Description: Set the console keyboard as early as possible
# so during the file systems checks the administrator
# can interact. At this stage of the boot process
# only the ASCII symbols are supported.
### END INIT INFO
EOF
addscript killprocs <<'EOF'
### BEGIN INIT INFO
# Provides: killprocs
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Short-Description: executed by init(8) upon entering runlevel 1 (single).
### END INIT INFO
EOF
addscript module-init-tools <<'EOF'
### BEGIN INIT INFO
# Provides: module-init-tools
# Required-Start:
# Required-Stop:
# Should-Start: checkroot
# Should-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Process /etc/modules.
# Description: Load the modules listed in /etc/modules.
### END INIT INFO
EOF
addscript mountall-bootclean.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountall-bootclean
# Required-Start: mountall
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: bootclean after mountall.
# Description: Clean temporary filesystems after
# all local filesystems have been mounted.
### END INIT INFO
EOF
addscript mountall.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountall
# Required-Start: checkfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Mount all filesystems.
# Description:
### END INIT INFO
EOF
addscript mountdevsubfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountdevsubfs
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: udev
# Default-Start: S
# Default-Stop:
# Short-Description: Mount special file systems under /dev.
# Description: Mount the virtual filesystems the kernel provides
# that ordinarily live under the /dev filesystem.
### END INIT INFO
EOF
addscript mountkernfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountkernfs
# Required-Start:
# Required-Stop:
# Should-Start: glibc
# Default-Start: S
# Default-Stop:
# Short-Description: Mount kernel virtual file systems.
# Description: Mount initial set of virtual filesystems the kernel
# provides and that are required by everything.
### END INIT INFO
EOF
addscript mountnfs-bootclean.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountnfs-bootclean
# Required-Start: $local_fs mountnfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: bootclean after mountnfs.
# Description: Clean temporary filesystems after
# network filesystems have been mounted.
### END INIT INFO
EOF
addscript mountnfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mountnfs
# Required-Start: $local_fs
# Required-Stop:
# Should-Start: $network $portmap nfs-common udev-mtab
# Default-Start: S
# Default-Stop:
# Short-Description: Wait for network file systems to be mounted
# Description: Network file systems are mounted by
# /etc/network/if-up.d/mountnfs in the background
# when interfaces are brought up; this script waits
# for them to be mounted before carrying on.
### END INIT INFO
EOF
addscript mountoverflowtmp <<'EOF'
### BEGIN INIT INFO
# Provides: mountoverflowtmp
# Required-Start: mountall-bootclean
# Required-Stop: umountfs
# Default-Start: S
# Default-Stop:
# Short-Description: mount emergency /tmp.
# Description: Mount a tmpfs on /tmp if there would
# otherwise be too little space to log in.
### END INIT INFO
EOF
addscript mtab.sh <<'EOF'
### BEGIN INIT INFO
# Provides: mtab
# Required-Start: checkroot
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Update mtab file.
# Description: Update the mount program's mtab file after
# all local filesystems have been mounted.
### END INIT INFO
EOF
addscript muse <<'EOF'
### BEGIN INIT INFO
# Provides: muse
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Muse -- Multi-user Universal Searching Environment
# Description: Meta script used to handle all Muse servers:
# - ICE: Information Connection Engine;
# - Tomcat: web server interface (servlets engine);
# - HTTP: web server interface (servlets engine);
# - Proxy: used by Muse Navigation Manager;
# - Z39.50.
### END INIT INFO
EOF
addscript networking <<'EOF'
### BEGIN INIT INFO
# Provides: networking
# Required-Start: mountkernfs $local_fs
# Required-Stop: $local_fs
# Should-Start: ifupdown
# Should-Stop: ifupdown
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Raise network interfaces.
### END INIT INFO
EOF
addscript procps <<'EOF'
### BEGIN INIT INFO
# Provides: procps
# Required-Start: mountkernfs $local_fs
# Required-Stop:
# Should-Start: udev module-init-tools
# Default-Start: S
# Default-Stop:
# Short-Description: Configure kernel parameters at boottime
# Description: Loads kernel parameters that are specified in /etc/sysctl.conf
### END INIT INFO
EOF
addscript rc.local <<'EOF'
### BEGIN INIT INFO
# Provides: rc.local
# Required-Start: $remote_fs $syslog $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO
EOF
addscript reboot <<'EOF'
### BEGIN INIT INFO
# Provides: reboot
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop: 6
# Short-Description: Execute the reboot command.
# Description:
### END INIT INFO
EOF
addscript rmnologin <<'EOF'
### BEGIN INIT INFO
# Provides: rmnologin
# Required-Start: $remote_fs $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Remove /etc/nologin at boot
# Description: This script removes the /etc/nologin file as the
# last step in the boot process, if DELAYLOGIN=yes.
# If DELAYLOGIN=no, /etc/nologin was not created by
# bootmisc earlier in the boot process.
### END INIT INFO
EOF
addscript rsync <<'EOF'
### BEGIN INIT INFO
# Provides: rsyncd
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $named
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: fast remote file copy program daemon
# Description: rsync is a program that allows files to be copied to and
# from remote machines in much the same way as rcp.
# This provides rsyncd daemon functionality.
### END INIT INFO
EOF
addscript rsyslog <<'EOF'
### BEGIN INIT INFO
# Provides: rsyslog
# Required-Start: $remote_fs $time
# Required-Stop: umountnfs $time
# X-Stop-After: sendsigs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: enhanced syslogd
# Description: Rsyslog is an enhanced multi-threaded syslogd.
# It is quite compatible to stock sysklogd and can be
# used as a drop-in replacement.
### END INIT INFO
EOF
addscript sendsigs <<'EOF'
### BEGIN INIT INFO
# Provides: sendsigs
# Required-Start:
# Required-Stop: umountnfs
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Kill all remaining processes.
# Description:
### END INIT INFO
EOF
addscript single <<'EOF'
### BEGIN INIT INFO
# Provides: single
# Required-Start: $local_fs $all killprocs
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Short-Description: executed by init(8) upon entering runlevel 1 (single).
### END INIT INFO
EOF
addscript ssh <<'EOF'
### BEGIN INIT INFO
# Provides: sshd
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: OpenBSD Secure Shell server
### END INIT INFO
EOF
addscript stop-bootlogd <<'EOF'
### BEGIN INIT INFO
# Provides: stop-bootlogd
# Required-Start: $local_fs $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Stop bootlogd
# Description: See the init.d/bootlogd script
### END INIT INFO
EOF
addscript stop-bootlogd-single <<'EOF'
### BEGIN INIT INFO
# Provides: stop-bootlogd-single
# Required-Start: $local_fs $all
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Stop bootlogd in single user mode
# Description: See the init.d/bootlogd script
### END INIT INFO
EOF
addscript udev <<'EOF'
### BEGIN INIT INFO
# Provides: udev
# Required-Start: mountkernfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# X-Interactive: true
# Short-Description: Start udevd, populate /dev and load drivers.
### END INIT INFO
EOF
addscript udev-mtab <<'EOF'
### BEGIN INIT INFO
# Provides: udev-mtab
# Required-Start: udev $local_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Add to mtab the entry for /dev.
### END INIT INFO
EOF
addscript umountfs <<'EOF'
### BEGIN INIT INFO
# Provides: umountfs
# Required-Start:
# Required-Stop: umountroot
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Turn off swap and unmount all local file systems.
# Description:
### END INIT INFO
EOF
addscript umountnfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides: umountnfs
# Required-Start:
# Required-Stop: umountfs
# Should-Stop: $network $portmap nfs-common
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Unmount all network filesystems except the root fs.
# Description: Also unmounts all virtual filesystems (proc,
# devpts, usbfs, sysfs) that are not mounted at the
# top level.
### END INIT INFO
EOF
addscript umountroot <<'EOF'
### BEGIN INIT INFO
# Provides: umountroot
# Required-Start:
# Required-Stop:
# Should-Stop: halt reboot kexec
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Mount the root filesystem read-only.
### END INIT INFO
EOF
addscript urandom <<'EOF'
### BEGIN INIT INFO
# Provides: urandom
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Save and restore random seed between restarts.
# Description: This script saves the random seed between restarts.
# It is called from the boot, halt and reboot scripts.
### END INIT INFO
EOF
addscript x11-common <<'EOF'
### BEGIN INIT INFO
# Provides: x11-common
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop:
### END INIT INFO
EOF
cd $tmpdir/etc
mkdir rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rcS.d
ln -s ../init.d/atop rc0.d/K01atop
ln -s ../init.d/urandom rc0.d/K01urandom
ln -s ../init.d/muse rc0.d/K02muse
ln -s ../init.d/sendsigs rc0.d/K02sendsigs
ln -s ../init.d/rsyslog rc0.d/K03rsyslog
ln -s ../init.d/hwclock.sh rc0.d/K04hwclock.sh
ln -s ../init.d/umountnfs.sh rc0.d/K04umountnfs.sh
ln -s ../init.d/networking rc0.d/K05networking
ln -s ../init.d/ifupdown rc0.d/K06ifupdown
ln -s ../init.d/umountfs rc0.d/K07umountfs
ln -s ../init.d/umountroot rc0.d/K08umountroot
ln -s ../init.d/halt rc0.d/K09halt
ln -s ../init.d/atop rc1.d/K01atop
ln -s ../init.d/muse rc1.d/K02muse
ln -s ../init.d/rsyslog rc1.d/K03rsyslog
ln -s ../init.d/killprocs rc1.d/S01killprocs
ln -s ../init.d/bootlogs rc1.d/S03bootlogs
ln -s ../init.d/single rc1.d/S04single
ln -s ../init.d/rsyslog rc2.d/S01rsyslog
ln -s ../init.d/acpid rc2.d/S02acpid
ln -s ../init.d/atop rc2.d/S02atop
ln -s ../init.d/cron rc2.d/S02cron
ln -s ../init.d/rsync rc2.d/S02rsync
ln -s ../init.d/ssh rc2.d/S02ssh
ln -s ../init.d/bootlogs rc2.d/S03bootlogs
ln -s ../init.d/rc.local rc2.d/S04rc.local
ln -s ../init.d/rmnologin rc2.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc2.d/S04stop-bootlogd
ln -s ../init.d/muse rc2.d/S98muse
ln -s ../init.d/rsyslog rc3.d/S01rsyslog
ln -s ../init.d/acpid rc3.d/S02acpid
ln -s ../init.d/atop rc3.d/S02atop
ln -s ../init.d/cron rc3.d/S02cron
ln -s ../init.d/rsync rc3.d/S02rsync
ln -s ../init.d/ssh rc3.d/S02ssh
ln -s ../init.d/bootlogs rc3.d/S03bootlogs
ln -s ../init.d/rc.local rc3.d/S04rc.local
ln -s ../init.d/rmnologin rc3.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc3.d/S04stop-bootlogd
ln -s ../init.d/muse rc3.d/S98muse
ln -s ../init.d/rsyslog rc4.d/S01rsyslog
ln -s ../init.d/acpid rc4.d/S02acpid
ln -s ../init.d/atop rc4.d/S02atop
ln -s ../init.d/cron rc4.d/S02cron
ln -s ../init.d/rsync rc4.d/S02rsync
ln -s ../init.d/ssh rc4.d/S02ssh
ln -s ../init.d/bootlogs rc4.d/S03bootlogs
ln -s ../init.d/rc.local rc4.d/S04rc.local
ln -s ../init.d/rmnologin rc4.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc4.d/S04stop-bootlogd
ln -s ../init.d/muse rc4.d/S98muse
ln -s ../init.d/rsyslog rc5.d/S01rsyslog
ln -s ../init.d/acpid rc5.d/S02acpid
ln -s ../init.d/atop rc5.d/S02atop
ln -s ../init.d/cron rc5.d/S02cron
ln -s ../init.d/rsync rc5.d/S02rsync
ln -s ../init.d/ssh rc5.d/S02ssh
ln -s ../init.d/bootlogs rc5.d/S03bootlogs
ln -s ../init.d/rc.local rc5.d/S04rc.local
ln -s ../init.d/rmnologin rc5.d/S04rmnologin
ln -s ../init.d/stop-bootlogd rc5.d/S04stop-bootlogd
ln -s ../init.d/muse rc5.d/S98muse
ln -s ../init.d/atop rc6.d/K01atop
ln -s ../init.d/urandom rc6.d/K01urandom
ln -s ../init.d/muse rc6.d/K02muse
ln -s ../init.d/sendsigs rc6.d/K02sendsigs
ln -s ../init.d/rsyslog rc6.d/K03rsyslog
ln -s ../init.d/hwclock.sh rc6.d/K04hwclock.sh
ln -s ../init.d/umountnfs.sh rc6.d/K04umountnfs.sh
ln -s ../init.d/networking rc6.d/K05networking
ln -s ../init.d/ifupdown rc6.d/K06ifupdown
ln -s ../init.d/umountfs rc6.d/K07umountfs
ln -s ../init.d/umountroot rc6.d/K08umountroot
ln -s ../init.d/reboot rc6.d/K09reboot
ln -s ../init.d/mountkernfs.sh rcS.d/S01mountkernfs.sh
ln -s ../init.d/udev rcS.d/S02udev
ln -s ../init.d/mountdevsubfs.sh rcS.d/S03mountdevsubfs.sh
ln -s ../init.d/bootlogd rcS.d/S04bootlogd
ln -s ../init.d/keyboard-setup rcS.d/S05keyboard-setup
ln -s ../init.d/hostname.sh rcS.d/S06hostname.sh
ln -s ../init.d/hwclockfirst.sh rcS.d/S06hwclockfirst.sh
ln -s ../init.d/checkroot.sh rcS.d/S07checkroot.sh
ln -s ../init.d/hwclock.sh rcS.d/S08hwclock.sh
ln -s ../init.d/ifupdown-clean rcS.d/S08ifupdown-clean
ln -s ../init.d/module-init-tools rcS.d/S08module-init-tools
ln -s ../init.d/mtab.sh rcS.d/S08mtab.sh
ln -s ../init.d/checkfs.sh rcS.d/S09checkfs.sh
ln -s ../init.d/ifupdown rcS.d/S10ifupdown
ln -s ../init.d/mountall.sh rcS.d/S10mountall.sh
ln -s ../init.d/mountall-bootclean.sh rcS.d/S11mountall-bootclean.sh
ln -s ../init.d/mountoverflowtmp rcS.d/S12mountoverflowtmp
ln -s ../init.d/networking rcS.d/S13networking
ln -s ../init.d/procps rcS.d/S13procps
ln -s ../init.d/udev-mtab rcS.d/S13udev-mtab
ln -s ../init.d/urandom rcS.d/S13urandom
ln -s ../init.d/x11-common rcS.d/S13x11-common
ln -s ../init.d/mountnfs.sh rcS.d/S14mountnfs.sh
ln -s ../init.d/mountnfs-bootclean.sh rcS.d/S15mountnfs-bootclean.sh
ln -s ../init.d/kbd rcS.d/S16kbd
ln -s ../init.d/console-setup rcS.d/S17console-setup
ln -s ../init.d/bootmisc.sh rcS.d/S18bootmisc.sh
ln -s ../init.d/stop-bootlogd-single rcS.d/S19stop-bootlogd-single
list_rclinks
More information about the Pkg-sysvinit-devel
mailing list