On Sat, 25 Sep 2010, Petter Reinholdtsen wrote:

> Can you provide the output from /usr/share/insserv/make-testsuite, to
> allow us to try to reproduce this?

attached.
-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/
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 alsa-utils <<'EOF'
### BEGIN INIT INFO
# Provides:          alsa-utils
# Required-Start:    $remote_fs udev
# Required-Stop:     $remote_fs
# Default-Start:     S
# Default-Stop:      0 1 6
# Short-Description: Restore and store ALSA driver settings
# Description:       This script stores and restores mixer levels on
#                    shutdown and bootup.On sysv-rc systems: to
#                    disable storing of mixer levels on shutdown,
#                    remove /etc/rc[06].d/K50alsa-utils.  To disable
#                    restoring of mixer levels on bootup, rename the
#                    "S50alsa-utils" symbolic link in /etc/rcS.d/ to
#                    "K50alsa-utils".
### END INIT INFO
EOF

addscript anacron <<'EOF'
### BEGIN INIT INFO
# Provides:          anacron
# Required-Start:    $remote_fs $syslog $time
# Required-Stop:     $remote_fs $syslog $time
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Handle anac(h)ronistic cron
### END INIT INFO
EOF

addscript avahi-daemon <<'EOF'
### BEGIN INIT INFO
# Provides:          avahi
# Required-Start:    $remote_fs dbus
# Required-Stop:     $remote_fs dbus
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Avahi mDNS/DNS-SD Daemon
# Description:       Zeroconf daemon for configuring your network 
#                    automatically
### END INIT INFO
EOF

addscript bind9 <<'EOF'
### BEGIN INIT INFO
# Provides:          bind9
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Should-Start:      $network $syslog
# Should-Stop:       $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start and stop bind9
# Description:       bind9 is a Domain Name Server (DNS)
#        which translates ip addresses to and from internet names
### END INIT INFO
EOF

addscript binfmt-support <<'EOF'
### BEGIN INIT INFO
# Provides:          binfmt-support
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Support for extra binary formats
# Description:       Enable support for extra binary formats using the Linux
#                    kernel's binfmt_misc facility.
### END INIT INFO
EOF

addscript bluetooth <<'EOF'
### BEGIN INIT INFO
# Provides: bluetooth
# Required-Start:    $local_fs $syslog $remote_fs dbus
# Required-Stop:     $local_fs $syslog $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start bluetooth daemons
### 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 cpufrequtils <<'EOF'
### BEGIN INIT INFO
# Provides:       cpufrequtils
# Required-Start: $remote_fs loadcpufreq
# Required-Stop:
# Default-Start:  2 3 4 5
# Default-Stop:
# Short-Description: set CPUFreq kernel parameters
# Description: utilities to deal with CPUFreq Linux 
#       kernel support
### 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:      slapd autofs ypbind nscd
# Should-Stop:       slapd autofs ypbind nscd
# 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 cryptdisks <<'EOF'
### BEGIN INIT INFO
# Provides:          cryptdisks
# Required-Start:    checkroot cryptdisks-early
# Required-Stop:     umountroot cryptdisks-early
# Should-Start:      udev mdadm-raid lvm2
# Should-Stop:       udev mdadm-raid lvm2
# X-Start-Before:    checkfs
# X-Stop-After:      umountfs
# X-Interactive:     true
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Setup remaining encrypted block devices.
# Description:
### END INIT INFO
EOF

addscript cryptdisks-early <<'EOF'
### BEGIN INIT INFO
# Provides:          cryptdisks-early
# Required-Start:    checkroot
# Required-Stop:     umountroot
# Should-Start:      udev mdadm-raid
# Should-Stop:       udev mdadm-raid
# X-Start-Before:    lvm2
# X-Stop-After:      lvm2
# X-Interactive:     true
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Setup early encrypted block devices.
# Description:
### END INIT INFO
EOF

addscript cups <<'EOF'
### BEGIN INIT INFO
# Provides:          cups
# Required-Start:    $syslog $remote_fs
# Required-Stop:     $syslog $remote_fs
# Should-Start:      $network avahi
# Should-Stop:       $network
# X-Start-Before:    samba
# X-Stop-After:      samba
# Default-Start:     2 3 4 5
# Default-Stop:      1
# Short-Description: CUPS Printing spooler and server
### END INIT INFO
EOF

addscript dbus <<'EOF'
### BEGIN INIT INFO
# Provides:          dbus
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: D-Bus systemwide message bus
# Description:       D-Bus is a simple interprocess messaging system, used
#                    for sending messages between applications.
### END INIT INFO
EOF

addscript fancontrol <<'EOF'
### BEGIN INIT INFO
# Provides:          fancontrol
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: fancontrol
# Description:       fan speed regulator
### END INIT INFO
EOF

addscript fuse <<'EOF'
### BEGIN INIT INFO
# Provides:          fuse
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Filesystem in userspace
# Description:       This file load all what's needed to make fuse work fine
### END INIT INFO
EOF

addscript gdm3 <<'EOF'
### BEGIN INIT INFO
# Provides:          gdm3
# Should-Start:      console-screen acpid dbus hal network-manager
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: GNOME Display Manager
# Description:       Debian init script for the GNOME Display Manager
### END INIT INFO
EOF

addscript hal <<'EOF'
### BEGIN INIT INFO
# Provides:          hal
# Required-Start:    $remote_fs dbus
# Required-Stop:     $remote_fs dbus
# Should-Start:      $syslog acpid
# Should-Stop:       $syslog acpid
# Default-Start:     2 3 4 5
# Default-Stop:      1
# Short-Description: Hardware abstraction layer
# Description:       The HAL daemon collects and maintains information about
#                    your hardware.
### 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 hdparm <<'EOF'
### BEGIN INIT INFO
# Provides:          hdparm
# Required-Start:    mountdevsubfs
# Required-Stop:
# Should-Start:      udev
# Default-Start:     S
# Default-Stop:
# Short-Description: Tune IDE hard disks
### 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 kerneloops <<'EOF'
### BEGIN INIT INFO
# Provides: kerneloops
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Required-Start: $local_fs $remote_fs $named $network $time $syslog
# Required-Stop: $local_fs $remote_fs $syslog
# Short-Description: Tool to automatically collect and submit kernel crash 
signatures
# Description: A tool that collects and submits kernel crash
#   signatures to the kerneloops.org website for use by the Linux
#   kernel developers.
### 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 laptop-mode <<'EOF'
### BEGIN INIT INFO
# Provides:          laptop-mode
# Should-Start:      $all
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Enable laptop-mode-tools power management functions
# Description:       Enable laptop-mode-tools power management functions
### END INIT INFO
EOF

addscript lm-sensors <<'EOF'
### BEGIN INIT INFO
# Provides:          lm-sensors
# Required-Start:    $remote_fs
# Required-Stop:
# Default-Start:     S
# Default-Stop:
# Short-Description: lm-sensors
# Description:       hardware health monitoring
### END INIT INFO
EOF

addscript loadcpufreq <<'EOF'
### BEGIN INIT INFO
# Provides:          loadcpufreq
# Required-Start:    $remote_fs $syslog
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Load kernel modules needed to enable cpufreq scaling
# Description:       Make it possible to save power by reducing
#                    the CPU speed when there is little to do.
### END INIT INFO
EOF

addscript local-busybox-log <<'EOF'
EOF

addscript local-disable-bluetooth <<'EOF'
EOF

addscript lvm2 <<'EOF'
### BEGIN INIT INFO
# Provides:          lvm2 lvm
# Required-Start:    mountdevsubfs udev
# Required-Stop:
# Should-Start:      mdadm-raid cryptdisks-early multipath-tools-boot
# Should-Stop:       umountroot mdadm-raid
# X-Start-Before:    checkfs mountall
# X-Stop-After:      umountfs
# Default-Start:     S
# Default-Stop:      0 6
### 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 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 ntp <<'EOF'
### BEGIN INIT INFO
# Provides:        ntp
# Required-Start:  $network $remote_fs $syslog
# Required-Stop:   $network $remote_fs $syslog
# Default-Start:   2 3 4 5
# Default-Stop: 
# Short-Description: Start NTP daemon
### END INIT INFO
EOF

addscript openvpn <<'EOF'
### BEGIN INIT INFO
# Provides:          openvpn
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Should-Start:      network-manager
# Should-Stop:       network-manager
# X-Start-Before:    $x-display-manager gdm kdm xdm wdm ldm sdm nodm
# X-Interactive:     true
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Openvpn VPN service
### END INIT INFO
EOF

addscript pcmciautils <<'EOF'
### BEGIN INIT INFO
# Provides:          pcmcia
# Required-Start:    $local_fs
# Required-Stop:
# Should-Start:      udev
# X-Start-Before:    networking
# Default-Start:     S
# Default-Stop:
# Short-Description: PCMCIA support
# Description:       This service provides PCMCIA hardware support for
#                    systems running Linux >= 2.6.13-rc1.
### END INIT INFO
EOF

addscript polipo <<'EOF'
### BEGIN INIT INFO
# Provides:          polipo
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start or stop the polipo web cache
### END INIT INFO
EOF

addscript pppd-dns <<'EOF'
### BEGIN INIT INFO
# Provides:          pppd-dns
# Required-Start:    $local_fs
# Required-Stop:
# Default-Start:     S
# Default-Stop:
# Short-Description: Restore resolv.conf if the system crashed.
### 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 quagga <<'EOF'
### BEGIN INIT INFO
# Provides: quagga
# Required-Start: $local_fs $network $remote_fs $syslog
# Required-Stop: $local_fs $network $remote_fs $syslog
# Default-Start:  2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start and stop the Quagga routing suite
# Description: Quagga is a routing suite for IP routing protocols like 
#              BGP, OSPF, RIP and others. This script contols the main 
#              daemon "quagga" as well as the individual protocol daemons.
### 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 saned <<'EOF'
### BEGIN INIT INFO
# Provides:          saned
# Required-Start:    $syslog $local_fs $remote_fs
# Required-Stop:     $syslog $local_fs $remote_fs
# Should-Start:      dbus avahi
# Should-Stop:       dbus avahi
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: SANE network scanner server
# Description:       saned makes local scanners available over the
#                    network.
### END INIT INFO
EOF

addscript screen-cleanup <<'EOF'
### BEGIN INIT INFO
# Provides:          screen-cleanup
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     S
# Default-Stop:
# Short-Description: screen sessions cleaning
### 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 sudo <<'EOF'
### BEGIN INIT INFO
# Provides:          sudo
# Required-Start:    $local_fs $remote_fs
# Required-Stop:
# X-Start-Before:    rmnologin
# Default-Start:     2 3 4 5
# Default-Stop:
### END INIT INFO
EOF

addscript tor <<'EOF'
### BEGIN INIT INFO
# Provides:          tor
# Required-Start:    $local_fs $remote_fs $network $named $time
# Required-Stop:     $local_fs $remote_fs $network $named $time
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Starts The Onion Router daemon processes
# Description:       Start The Onion Router, a TCP overlay
#                    network client that provides anonymous
#                    transport.
### 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 unattended-upgrades <<'EOF'
### BEGIN INIT INFO
# Required-Start:
# Required-Stop:
# Provides:          unattended-upgrade-shutdown-check
# Default-Start:     0 6
# Default-Stop:      
# Short-Description: Check if unattended upgrades are being applied
# Description:       Check if unattended upgrades are being applied
#                    and wait for them to finish
### 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 wicd <<'EOF'
### BEGIN INIT INFO
# Provides:          wicd
# Required-Start:    $remote_fs dbus
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Starts and stops Wicd
# Description:       Starts and stops Wicd, a network manager
### 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/alsa-utils rc0.d/K01alsa-utils
ln -s ../init.d/anacron rc0.d/K01anacron
ln -s ../init.d/bluetooth rc0.d/K01bluetooth
ln -s ../init.d/fuse rc0.d/K01fuse
ln -s ../init.d/gdm3 rc0.d/K01gdm3
ln -s ../init.d/kerneloops rc0.d/K01kerneloops
ln -s ../init.d/laptop-mode rc0.d/K01laptop-mode
ln -s ../init.d/openvpn rc0.d/K01openvpn
ln -s ../init.d/polipo rc0.d/K01polipo
ln -s ../init.d/quagga rc0.d/K01quagga
ln -s ../init.d/saned rc0.d/K01saned
ln -s ../init.d/tor rc0.d/K01tor
ln -s ../init.d/urandom rc0.d/K01urandom
ln -s ../init.d/wicd rc0.d/K01wicd
ln -s ../init.d/avahi-daemon rc0.d/K02avahi-daemon
ln -s ../init.d/bind9 rc0.d/K02bind9
ln -s ../init.d/hwclock.sh rc0.d/K02hwclock.sh
ln -s ../init.d/sendsigs rc0.d/K03sendsigs
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/cryptdisks rc0.d/K08cryptdisks
ln -s ../init.d/lvm2 rc0.d/K09lvm2
ln -s ../init.d/cryptdisks-early rc0.d/K10cryptdisks-early
ln -s ../init.d/umountroot rc0.d/K11umountroot
ln -s ../init.d/halt rc0.d/K12halt
ln -s ../init.d/unattended-upgrades rc0.d/S01unattended-upgrades
ln -s ../init.d/alsa-utils rc1.d/K01alsa-utils
ln -s ../init.d/anacron rc1.d/K01anacron
ln -s ../init.d/bluetooth rc1.d/K01bluetooth
ln -s ../init.d/cups rc1.d/K01cups
ln -s ../init.d/gdm3 rc1.d/K01gdm3
ln -s ../init.d/hal rc1.d/K01hal
ln -s ../init.d/kerneloops rc1.d/K01kerneloops
ln -s ../init.d/laptop-mode rc1.d/K01laptop-mode
ln -s ../init.d/openvpn rc1.d/K01openvpn
ln -s ../init.d/polipo rc1.d/K01polipo
ln -s ../init.d/quagga rc1.d/K01quagga
ln -s ../init.d/saned rc1.d/K01saned
ln -s ../init.d/tor rc1.d/K01tor
ln -s ../init.d/wicd rc1.d/K01wicd
ln -s ../init.d/avahi-daemon rc1.d/K02avahi-daemon
ln -s ../init.d/bind9 rc1.d/K02bind9
ln -s ../init.d/killprocs rc1.d/S01killprocs
ln -s ../init.d/bootlogs rc1.d/S05bootlogs
ln -s ../init.d/single rc1.d/S06single
ln -s ../init.d/openvpn rc2.d/S01openvpn
ln -s ../init.d/acpid rc2.d/S02acpid
ln -s ../init.d/anacron rc2.d/S02anacron
ln -s ../init.d/bind9 rc2.d/S02bind9
ln -s ../init.d/binfmt-support rc2.d/S02binfmt-support
ln -s ../init.d/cron rc2.d/S02cron
ln -s ../init.d/dbus rc2.d/S02dbus
ln -s ../init.d/fancontrol rc2.d/S02fancontrol
ln -s ../init.d/loadcpufreq rc2.d/S02loadcpufreq
ln -s ../init.d/polipo rc2.d/S02polipo
ln -s ../init.d/quagga rc2.d/S02quagga
ln -s ../init.d/ssh rc2.d/S02ssh
ln -s ../init.d/sudo rc2.d/S02sudo
ln -s ../init.d/avahi-daemon rc2.d/S03avahi-daemon
ln -s ../init.d/bluetooth rc2.d/S03bluetooth
ln -s ../init.d/cpufrequtils rc2.d/S03cpufrequtils
ln -s ../init.d/hal rc2.d/S03hal
ln -s ../init.d/kerneloops rc2.d/S03kerneloops
ln -s ../init.d/rsync rc2.d/S03rsync
ln -s ../init.d/tor rc2.d/S03tor
ln -s ../init.d/wicd rc2.d/S03wicd
ln -s ../init.d/cups rc2.d/S04cups
ln -s ../init.d/gdm3 rc2.d/S04gdm3
ln -s ../init.d/saned rc2.d/S04saned
ln -s ../init.d/bootlogs rc2.d/S05bootlogs
ln -s ../init.d/laptop-mode rc2.d/S06laptop-mode
ln -s ../init.d/rc.local rc2.d/S06rc.local
ln -s ../init.d/rmnologin rc2.d/S06rmnologin
ln -s ../init.d/stop-bootlogd rc2.d/S06stop-bootlogd
ln -s ../init.d/local-disable-bluetooth rc2.d/S99local-disable-bluetooth
ln -s ../init.d/openvpn rc3.d/S01openvpn
ln -s ../init.d/acpid rc3.d/S02acpid
ln -s ../init.d/anacron rc3.d/S02anacron
ln -s ../init.d/bind9 rc3.d/S02bind9
ln -s ../init.d/binfmt-support rc3.d/S02binfmt-support
ln -s ../init.d/cron rc3.d/S02cron
ln -s ../init.d/dbus rc3.d/S02dbus
ln -s ../init.d/fancontrol rc3.d/S02fancontrol
ln -s ../init.d/loadcpufreq rc3.d/S02loadcpufreq
ln -s ../init.d/polipo rc3.d/S02polipo
ln -s ../init.d/quagga rc3.d/S02quagga
ln -s ../init.d/ssh rc3.d/S02ssh
ln -s ../init.d/sudo rc3.d/S02sudo
ln -s ../init.d/avahi-daemon rc3.d/S03avahi-daemon
ln -s ../init.d/bluetooth rc3.d/S03bluetooth
ln -s ../init.d/cpufrequtils rc3.d/S03cpufrequtils
ln -s ../init.d/hal rc3.d/S03hal
ln -s ../init.d/kerneloops rc3.d/S03kerneloops
ln -s ../init.d/rsync rc3.d/S03rsync
ln -s ../init.d/tor rc3.d/S03tor
ln -s ../init.d/wicd rc3.d/S03wicd
ln -s ../init.d/cups rc3.d/S04cups
ln -s ../init.d/gdm3 rc3.d/S04gdm3
ln -s ../init.d/saned rc3.d/S04saned
ln -s ../init.d/bootlogs rc3.d/S05bootlogs
ln -s ../init.d/laptop-mode rc3.d/S06laptop-mode
ln -s ../init.d/rc.local rc3.d/S06rc.local
ln -s ../init.d/rmnologin rc3.d/S06rmnologin
ln -s ../init.d/stop-bootlogd rc3.d/S06stop-bootlogd
ln -s ../init.d/openvpn rc4.d/S01openvpn
ln -s ../init.d/acpid rc4.d/S02acpid
ln -s ../init.d/anacron rc4.d/S02anacron
ln -s ../init.d/bind9 rc4.d/S02bind9
ln -s ../init.d/binfmt-support rc4.d/S02binfmt-support
ln -s ../init.d/cron rc4.d/S02cron
ln -s ../init.d/dbus rc4.d/S02dbus
ln -s ../init.d/fancontrol rc4.d/S02fancontrol
ln -s ../init.d/loadcpufreq rc4.d/S02loadcpufreq
ln -s ../init.d/polipo rc4.d/S02polipo
ln -s ../init.d/quagga rc4.d/S02quagga
ln -s ../init.d/ssh rc4.d/S02ssh
ln -s ../init.d/sudo rc4.d/S02sudo
ln -s ../init.d/avahi-daemon rc4.d/S03avahi-daemon
ln -s ../init.d/bluetooth rc4.d/S03bluetooth
ln -s ../init.d/cpufrequtils rc4.d/S03cpufrequtils
ln -s ../init.d/hal rc4.d/S03hal
ln -s ../init.d/kerneloops rc4.d/S03kerneloops
ln -s ../init.d/rsync rc4.d/S03rsync
ln -s ../init.d/tor rc4.d/S03tor
ln -s ../init.d/wicd rc4.d/S03wicd
ln -s ../init.d/cups rc4.d/S04cups
ln -s ../init.d/gdm3 rc4.d/S04gdm3
ln -s ../init.d/saned rc4.d/S04saned
ln -s ../init.d/bootlogs rc4.d/S05bootlogs
ln -s ../init.d/laptop-mode rc4.d/S06laptop-mode
ln -s ../init.d/rc.local rc4.d/S06rc.local
ln -s ../init.d/rmnologin rc4.d/S06rmnologin
ln -s ../init.d/stop-bootlogd rc4.d/S06stop-bootlogd
ln -s ../init.d/openvpn rc5.d/S01openvpn
ln -s ../init.d/acpid rc5.d/S02acpid
ln -s ../init.d/anacron rc5.d/S02anacron
ln -s ../init.d/bind9 rc5.d/S02bind9
ln -s ../init.d/binfmt-support rc5.d/S02binfmt-support
ln -s ../init.d/cron rc5.d/S02cron
ln -s ../init.d/dbus rc5.d/S02dbus
ln -s ../init.d/fancontrol rc5.d/S02fancontrol
ln -s ../init.d/loadcpufreq rc5.d/S02loadcpufreq
ln -s ../init.d/polipo rc5.d/S02polipo
ln -s ../init.d/quagga rc5.d/S02quagga
ln -s ../init.d/ssh rc5.d/S02ssh
ln -s ../init.d/sudo rc5.d/S02sudo
ln -s ../init.d/avahi-daemon rc5.d/S03avahi-daemon
ln -s ../init.d/bluetooth rc5.d/S03bluetooth
ln -s ../init.d/cpufrequtils rc5.d/S03cpufrequtils
ln -s ../init.d/hal rc5.d/S03hal
ln -s ../init.d/kerneloops rc5.d/S03kerneloops
ln -s ../init.d/rsync rc5.d/S03rsync
ln -s ../init.d/tor rc5.d/S03tor
ln -s ../init.d/wicd rc5.d/S03wicd
ln -s ../init.d/cups rc5.d/S04cups
ln -s ../init.d/gdm3 rc5.d/S04gdm3
ln -s ../init.d/saned rc5.d/S04saned
ln -s ../init.d/bootlogs rc5.d/S05bootlogs
ln -s ../init.d/laptop-mode rc5.d/S06laptop-mode
ln -s ../init.d/rc.local rc5.d/S06rc.local
ln -s ../init.d/rmnologin rc5.d/S06rmnologin
ln -s ../init.d/stop-bootlogd rc5.d/S06stop-bootlogd
ln -s ../init.d/alsa-utils rc6.d/K01alsa-utils
ln -s ../init.d/anacron rc6.d/K01anacron
ln -s ../init.d/bluetooth rc6.d/K01bluetooth
ln -s ../init.d/fuse rc6.d/K01fuse
ln -s ../init.d/gdm3 rc6.d/K01gdm3
ln -s ../init.d/kerneloops rc6.d/K01kerneloops
ln -s ../init.d/laptop-mode rc6.d/K01laptop-mode
ln -s ../init.d/openvpn rc6.d/K01openvpn
ln -s ../init.d/polipo rc6.d/K01polipo
ln -s ../init.d/quagga rc6.d/K01quagga
ln -s ../init.d/saned rc6.d/K01saned
ln -s ../init.d/tor rc6.d/K01tor
ln -s ../init.d/urandom rc6.d/K01urandom
ln -s ../init.d/wicd rc6.d/K01wicd
ln -s ../init.d/avahi-daemon rc6.d/K02avahi-daemon
ln -s ../init.d/bind9 rc6.d/K02bind9
ln -s ../init.d/hwclock.sh rc6.d/K02hwclock.sh
ln -s ../init.d/sendsigs rc6.d/K03sendsigs
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/cryptdisks rc6.d/K08cryptdisks
ln -s ../init.d/lvm2 rc6.d/K09lvm2
ln -s ../init.d/cryptdisks-early rc6.d/K10cryptdisks-early
ln -s ../init.d/umountroot rc6.d/K11umountroot
ln -s ../init.d/reboot rc6.d/K12reboot
ln -s ../init.d/unattended-upgrades rc6.d/S01unattended-upgrades
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/hdparm rcS.d/S06hdparm
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/cryptdisks-early rcS.d/S08cryptdisks-early
ln -s ../init.d/hwclock.sh rcS.d/S09hwclock.sh
ln -s ../init.d/ifupdown-clean rcS.d/S09ifupdown-clean
ln -s ../init.d/lvm2 rcS.d/S09lvm2
ln -s ../init.d/module-init-tools rcS.d/S09module-init-tools
ln -s ../init.d/mtab.sh rcS.d/S09mtab.sh
ln -s ../init.d/cryptdisks rcS.d/S10cryptdisks
ln -s ../init.d/checkfs.sh rcS.d/S11checkfs.sh
ln -s ../init.d/ifupdown rcS.d/S12ifupdown
ln -s ../init.d/mountall.sh rcS.d/S12mountall.sh
ln -s ../init.d/mountall-bootclean.sh rcS.d/S13mountall-bootclean.sh
ln -s ../init.d/mountoverflowtmp rcS.d/S14mountoverflowtmp
ln -s ../init.d/pcmciautils rcS.d/S15pcmciautils
ln -s ../init.d/pppd-dns rcS.d/S15pppd-dns
ln -s ../init.d/procps rcS.d/S15procps
ln -s ../init.d/udev-mtab rcS.d/S15udev-mtab
ln -s ../init.d/urandom rcS.d/S15urandom
ln -s ../init.d/x11-common rcS.d/S15x11-common
ln -s ../init.d/networking rcS.d/S16networking
ln -s ../init.d/mountnfs.sh rcS.d/S17mountnfs.sh
ln -s ../init.d/mountnfs-bootclean.sh rcS.d/S18mountnfs-bootclean.sh
ln -s ../init.d/kbd rcS.d/S19kbd
ln -s ../init.d/console-setup rcS.d/S20console-setup
ln -s ../init.d/local-busybox-log rcS.d/S20local-busybox-log
ln -s ../init.d/alsa-utils rcS.d/S21alsa-utils
ln -s ../init.d/bootmisc.sh rcS.d/S21bootmisc.sh
ln -s ../init.d/fuse rcS.d/S21fuse
ln -s ../init.d/lm-sensors rcS.d/S21lm-sensors
ln -s ../init.d/screen-cleanup rcS.d/S21screen-cleanup
ln -s ../init.d/stop-bootlogd-single rcS.d/S22stop-bootlogd-single

list_rclinks

Reply via email to