[Pkg-sysvinit-devel] Bug#738775: insserv: Insserv 1.16 tries to connect to systemd even though system is running on sysv-init

Jan Binder wheel at herr-der-mails.de
Mon Feb 17 21:28:21 UTC 2014


Am Montag, 17. Februar 2014, 21:59:58 schrieb Petter Reinholdtsen:
> [Jan Binder]
> 
> > Ok, I agree that the systemd messages are gone with the SVN version
> 
> > and were not fatal:
> Good.  I'll upload a les noisy version to experimental.
> 
> > Setting up initscripts (2.88dsf-49) ...
> > insserv: FATAL: service dnsmasq is missed in the runlevels 2 3 4 5 to use
> > service cups-browsed insserv: FATAL: service rpcbind is missed in the
> > runlevels 2 3 4 5 to use service nfs-common insserv: exiting now!
> 
> Hm, this seem to be a problem with the complete set of scripts on your
> machine.  Can you send the output from /usr/share/insserv/make-testsuite
> on the machine in question?  It should allow me to reproduce your
> problem.
> 
> > So it looks like the real problem is that insserv has problems with
> > some script headers, especially rpcbind (see also bug #738532) and
> > dnsmasq.  I don't know if there is anything wrong with those
> > initscripts, but insserv dies and update-rc.d does not like that and
> > returns an error which in turn dpkg does not like.
> 
> Seem to me insserv got more picky about runlevel settings.  Will have to
> investigate this a bit more to be sure, as I have not seen this myself
> in my testing.
> 
> > I have attached the offensive initscripts, they are from dnsmasq
> > 2.68-1 and rpcbind 0.2.1-2 despite not knowing what is wrong with them
> > or any other part of my init configuration.
> 
> Thanks.  The output from make-testsuite is better to try to reproduce
> the problem.

Ok, here comes the make-testsuite output.
If debsums can be trusted, none of my initscripts were modified from the 
packaged versions.

Greetings
Jan
-------------- next part --------------
set +C
cat <<'EOF' > $insconf
$local_fs	+mountall +mountall-bootclean +mountoverflowtmp +umountfs
$network	+networking +ifupdown
$named		+named +dnsmasq +lwresd +bind9 +unbound $network
$remote_fs	$local_fs +mountnfs +mountnfs-bootclean +umountnfs +sendsigs
$syslog		+rsyslog +sysklogd +syslog-ng +dsyslog +inetutils-syslogd
$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 gdm3 xdm lightdm
# X-Stop-After:      kdm gdm3 xdm lightdm
# 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 actkbd <<'EOF'
### BEGIN INIT INFO
# Provides:          actkbd
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: actkbd
# Description:       actkbd
#                    
### END INIT INFO
EOF

addscript alsa-utils <<'EOF'
### BEGIN INIT INFO
# Provides:          alsa-utils
# Required-Start:    $local_fs $remote_fs
# 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 alsasound <<'EOF'
### BEGIN INIT INFO
# Provides:       alsasound
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start:  2 3 5
# Default-Stop:
# Description:    Loading ALSA drivers and store/restore the current setting
### 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:
# Short-Description: Run anacron jobs
# Description: The first purpose of this script is to run anacron at
#              boot so that it can catch up with missed jobs.  Note
#              that anacron is not a daemon.  It is run here just once
#              and is later started by the real cron.  The second
#              purpose of this script is that said cron job invokes
#              this script to start anacron at those subsequent times,
#              to keep the logic in one place.
### END INIT INFO
EOF

addscript apache2 <<'EOF'
### BEGIN INIT INFO
# Provides:          apache2
# Required-Start:    $local_fs $remote_fs $network $syslog $named
# Required-Stop:     $local_fs $remote_fs $network $syslog $named
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Interactive:     true
# Short-Description: Start/stop apache2 web server
# Description:       Start the web server and associated helpers
#  This script will start apache2, and possibly all associated instances.
#  Moreover, it will set-up temporary directories and helper tools such as
#  htcacheclean when required by the configuration.
### END INIT INFO
EOF

addscript apparmor <<'EOF'
### BEGIN INIT INFO
# Provides: apparmor
# Required-Start: $remote_fs
# Required-Stop: umountfs
# Default-Start: S
# Default-Stop:
# Short-Description: AppArmor initialization
# Description: AppArmor init script. This script loads all AppArmor profiles.
### END INIT INFO
EOF

addscript atd <<'EOF'
### BEGIN INIT INFO
# Provides:          atd
# Required-Start:    $syslog $time $remote_fs
# Required-Stop:     $syslog $time $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Deferred execution scheduler
# Description:       Debian init script for the atd deferred executions
#                    scheduler
### END INIT INFO
EOF

addscript avahi-daemon <<'EOF'
### BEGIN INIT INFO
# Provides:          avahi avahi-daemon
# 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 avahi-dnsconfd <<'EOF'
### BEGIN INIT INFO
# Provides:          avahi-dnsconfd
# Required-Start:    $remote_fs avahi-daemon
# Required-Stop:     $remote_fs avahi-daemon
# Should-Start:	     $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Avahi Unicast DNS Configuration Daemon
# Description:       A DNS configuration daemon using mDNS in a
#                    DHCP-like fashion
### 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 bittorrent <<'EOF'
### BEGIN INIT INFO
# Provides:          bittorrent
# Required-Start:    $network $local_fs
# Required-Stop:     $network $local_fs
# Should-Start:      
# Should-Stop:       
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start a bittorrent tracker
# Description:       Starts a bittorrent tracker, which
#                    aids bittorrent clients by locating
#                    other clients.
### 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 bootchart-done <<'EOF'
### BEGIN INIT INFO
# Provides:          bootchart2
# Required-Start:    $remote_fs $all
# Required-Stop:
# Default-Start:     1 2 3 4 5
# Default-Stop:
# Short-Description: Stop bootchartd
# Description:       This script stops the bootchartd daemon after the
#                    system booted.
### 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 bzflag <<'EOF'
### BEGIN INIT INFO
# Provides:          bzflag
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Init script for bzflag-server
# Description:       Init script for bzflag-server
### END INIT INFO
EOF

addscript checkfs.sh <<'EOF'
### BEGIN INIT INFO
# Provides:          checkfs
# Required-Start:    checkroot
# Required-Stop:
# Should-Start:
# Default-Start:     S
# Default-Stop:
# X-Interactive:     true
# Short-Description: Check all filesystems.
### END INIT INFO
EOF

addscript checkroot-bootclean.sh <<'EOF'
### BEGIN INIT INFO
# Provides:          checkroot-bootclean
# Required-Start:    checkroot
# Required-Stop:
# Default-Start:     S
# Default-Stop:
# X-Start-Before:    bootmisc
# Short-Description: bootclean after checkroot.
# Description:       Clean temporary filesystems after
#                    the root filesystem has been mounted.
#                    At this point, directories which may be
#                    masked by future mounts may be cleaned.
### END INIT INFO
EOF

addscript checkroot.sh <<'EOF'
### BEGIN INIT INFO
# Provides:          checkroot mtab
# 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 clamav-freshclam <<'EOF'
### BEGIN INIT INFO
# Provides:          clamav-freshclam
# Required-Start:    $remote_fs $syslog
# Should-Start:      clamav-daemon
# Required-Stop:     $remote_fs $syslog
# Should-Stop:       
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: ClamAV virus database updater
# Description:       Clam AntiVirus virus database updater
### END INIT INFO
EOF

addscript console-screen.sh <<'EOF'
### BEGIN INIT INFO
# Provides:          console-screen
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     
# Default-Start:     S
# Default-Stop:      
# Description: Set console screen modes and fonts
# Short-Description:	Prepare console
### 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:      $network $named slapd autofs ypbind nscd nslcd
# Should-Stop:       $network $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 cups <<'EOF'
### BEGIN INIT INFO
# Provides:          cups
# Required-Start:    $syslog $remote_fs
# Required-Stop:     $syslog $remote_fs
# Should-Start:      $network avahi-daemon slapd nslcd
# 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
# Description:       Manage the CUPS Printing spooler and server;
#                    make it's web interface accessible on http://localhost:631/
### END INIT INFO
EOF

addscript cups-browsed <<'EOF'
### BEGIN INIT INFO
# Provides:          cups-browsed
# Required-Start:    $syslog $remote_fs $network $named $time avahi-daemon
# Required-Stop:     $syslog $remote_fs $network $named $time avahi-daemon
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: cups-browsed - Make remote CUPS printers available locally
# Description: This daemon browses Bonjour broadcasts of shared remote CUPS
#              printers and makes these printers available locally by creating
#              local CUPS queues pointing to the remote queues. This replaces
#              the CUPS browsing which was dropped in CUPS 1.6.1. For the end
#              the behavior is the same as with the old CUPS broadcasting/
#              browsing, but in the background the standard method for network
#              service announcement and discovery, Bonjour, is used.
### 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 ddclient <<'EOF'
### BEGIN INIT INFO
# Provides:          ddclient
# Required-Start:    $local_fs $remote_fs $network $syslog
# Required-Stop:     $local_fs $remote_fs $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      1
# Short-Description: Update dynamic domain name service entries
### END INIT INFO
EOF

addscript dirmngr <<'EOF'
### BEGIN INIT INFO
# Provides:          dirmngr
# 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: start DirMngr daemon
# Description: DirMngr is a server for managing and downloading certificate
#              revocation lists.
### END INIT INFO
EOF

addscript dnsmasq <<'EOF'
### BEGIN INIT INFO
# Provides:       dnsmasq
# Required-Start: $network $remote_fs $syslog
# Required-Stop:  $network $remote_fs $syslog
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Description:    DHCP and DNS server
### END INIT INFO
EOF

addscript dovecot <<'EOF'
### BEGIN INIT INFO
# Provides:          dovecot
# Required-Start:    $local_fs $remote_fs $network $syslog $time
# Required-Stop:     $local_fs $remote_fs $network $syslog
# Should-Start:      postgresql mysql slapd winbind nslcd
# Should-Stop:       postgresql mysql slapd winbind nslcd
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Dovecot init script
# Description:       Init script for dovecot services
### END INIT INFO
EOF

addscript ebtables <<'EOF'
### BEGIN INIT INFO
# Provides:		ebtables
# Required-Start:	
# Required-Stop:	
# Should-Start:		$local_fs
# Should-Stop:		$local_fs
# Default-Start:	S
# Default-Stop:		0 1 6
# Short-Description:	ebtables ruleset management
# Description:		Saves and restores the state of the ebtables rulesets.
### END INIT INFO
EOF

addscript exim4 <<'EOF'
### BEGIN INIT INFO
# Provides:          exim4
# Required-Start:    $remote_fs $syslog $named $network $time
# Required-Stop:     $remote_fs $syslog $named $network
# Should-Start:      postgresql mysql clamav-daemon greylist spamassassin
# Should-Stop:       postgresql mysql clamav-daemon greylist spamassassin
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: exim Mail Transport Agent
# Description:       exim is a Mail Transport agent
### END INIT INFO
EOF

addscript fw <<'EOF'
### BEGIN INIT INFO
# Provides:          fw
# Required-Start:    $remote_fs $syslog $network
# Required-Stop:     $remote_fs $syslog $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: firewall script
# Description:       iptables based firewall
### END INIT INFO
EOF

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

addscript gpm <<'EOF'
### BEGIN INIT INFO
# Provides:          gpm
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:
# Should-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: gpm sysv init script
# Description:       general purpose mouse event server
### END INIT INFO
EOF

addscript gpsd <<'EOF'
### BEGIN INIT INFO
# Provides:          gpsd
# Required-Start:    $remote_fs $syslog $network
# Should-Start:      bluetooth dbus udev
# Required-Stop:     $remote_fs $syslog $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Start-Before:    ntp
# Short-Description: GPS (Global Positioning System) daemon 
# Description:       The gpsd service daemon is able to monitor one or
#                    more GPS devices connected to a host computer, making
#                    all data on the location and movements of the sensors
#                    available to be queried on TCP port 2947.
### 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 hddtemp <<'EOF'
### BEGIN INIT INFO
# Provides:          hddtemp
# Required-Start:    $remote_fs $syslog $network
# Required-Stop:     $remote_fs $syslog $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: disk temperature monitoring daemon
# Description:       hddtemp is a disk temperature monitoring daemon
### 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 hotkey-setup <<'EOF'
### BEGIN INIT INFO
# Provides:          hotkey-setup
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      1
# Short-Description: Set up laptop keys to generate keycodes.
### END INIT INFO
EOF

addscript hwclock.sh <<'EOF'
### BEGIN INIT INFO
# Provides:          hwclock
# Required-Start:    mountdevsubfs
# Required-Stop:     $local_fs
# Default-Start:     S
# X-Start-Before:    checkroot
# Default-Stop:      0 6
### END INIT INFO
EOF

addscript inadyn <<'EOF'
### BEGIN INIT INFO
# Provides:          inadyn
# Required-Start:    $network $local_fs $remote_fs $syslog
# Required-Stop:     $network $local_fs $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: DynDNS client
# Description:       Register an Internet name with your IP address
### END INIT INFO
EOF

addscript iodined <<'EOF'
### BEGIN INIT INFO
# Provides:          iodined
# Required-Start:    $remote_fs $network $syslog $named
# Required-Stop:     $remote_fs $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: initscript for iodined
# Description:       initscript for iodined
### END INIT INFO
EOF

addscript ipkungfu <<'EOF'
### BEGIN INIT INFO
# Provides:          ipkungfu
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start the ipkungfu firewall at boot time
# Description:       Script to start/stop/reload the ipkungfu script
### END INIT INFO
EOF

addscript kdm <<'EOF'
### BEGIN INIT INFO
# Provides:          kdm
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Should-Start:      console-screen kbd acpid dbus krb5-kdc
# Should-Stop:       console-screen kbd
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: X display manager for KDE
# Description:       KDM manages a collection of X servers, which may be on the local host or remote machines.
### END INIT INFO
EOF

addscript kerneloops <<'EOF'
### BEGIN INIT INFO
# Provides:          kerneloops
# Required-Start:    $remote_fs $named $network $time $syslog
# Required-Stop:     $remote_fs $named $network $time $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# 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 keymap.sh <<'EOF'
### BEGIN INIT INFO
# Provides:             keymap
# Required-Start:       mountdevsubfs
# Required-Stop:        
# Default-Start:        S
# Default-Stop:
# X-Interactive:	true
# Short-Description: 	Set keymap
# Description:		Set the Console keymap
### 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 kmod <<'EOF'
### BEGIN INIT INFO
# Provides:          kmod
# Required-Start:    
# Required-Stop:     
# Should-Start:      checkroot
# Should-Stop:
# Default-Start:     S
# Default-Stop:
# Short-Description: Load the modules listed in /etc/modules.
# Description:       Load the modules listed in /etc/modules.
### END INIT INFO
EOF

addscript libvirt-bin <<'EOF'
### BEGIN INIT INFO
# Provides:          libvirt-bin libvirtd
# Required-Start:    $network $local_fs $remote_fs $syslog
# Required-Stop:     $local_fs $remote_fs $syslog
# Should-Start:      avahi cgconfig
# Should-Stop:       avahi cgconfig
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: libvirt management daemon
### END INIT INFO
EOF

addscript libvirt-guests <<'EOF'
### BEGIN INIT INFO
# Provides: libvirt-guests
# Required-Start: $remote_fs libvirt-bin
# Required-Stop: $remote_fs libvirt-bin
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: suspend/resume libvirt guests on shutdown/boot
# Description: This is a script for suspending active libvirt guests
#              on shutdown and resuming them on next boot
#              See http://libvirt.org
### END INIT INFO
EOF

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

addscript lirc <<'EOF'
### BEGIN INIT INFO
# Provides:          lirc
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Starts LIRC daemon.
# Description:       LIRC is used to control different
#                    infrared receivers and transceivers.
### END INIT INFO
EOF

addscript lisa <<'EOF'
### BEGIN INIT INFO
# Provides:          lisa
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
### 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 lvm2 <<'EOF'
### BEGIN INIT INFO
# Provides:          lvm2 lvm
# Required-Start:    mountdevsubfs
# Required-Stop:
# Should-Start:      udev 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:
### END INIT INFO
EOF

addscript mcstrans <<'EOF'
### BEGIN INIT INFO
# Provides:          mcstransd mcstrans
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: The daemon to make sensitivity labels human readable form
# Description:       This daemon maps machine readable sensitivity labels
#                    (numbered levels and categories) to a human readable form
#                    (arbitrary names assigned by the sysadmin).
### END INIT INFO
EOF

addscript mdadm <<'EOF'
### BEGIN INIT INFO
# Provides:          mdadm
# Required-Start:    $local_fs $syslog mdadm-raid
# Required-Stop:     $local_fs $syslog sendsigs mdadm-raid
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: MD monitoring daemon
# Description:       mdadm provides a monitor mode, in which it will scan for
#                    problems with the MD devices. If a problem is found, the
#                    administrator is alerted via email, or a custom script is
#                    run.
### END INIT INFO
EOF

addscript mdadm-raid <<'EOF'
### BEGIN INIT INFO
# Provides:          mdadm-raid
# Required-Start:    mountkernfs hostname
# Should-Start:      udev multipath-tools-boot
# X-Start-Before:    checkfs mountall
# Required-Stop:     mountkernfs
# Should-Stop:       udev
# X-Stop-After:      umountfs
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: MD array assembly
# Description:       This script assembles a system's MD arrays, according to
#                    the settings in /etc/mdadm/mdadm.conf and the preferences
#                    in /etc/default/mdadm.
### END INIT INFO
EOF

addscript mdadm-waitidle <<'EOF'
### BEGIN INIT INFO
# Provides:          mdadm-waitidle
# Required-Start:
# Required-Stop:
# Should-Stop:       halt reboot kexec
# X-Stop-After:      umountroot
# Default-Start:
# Default-Stop:      0 6
# Short-Description: Wait for MD arrays to become idle
# Description:       Waits until all MD arrays are in idle and synced state
#                    before halt/reboot.
### END INIT INFO
EOF

addscript mediatomb <<'EOF'
### BEGIN INIT INFO
# Provides:          mediatomb
# Required-Start:    $local_fs $network $remote_fs
# Required-Stop:     $local_fs $network $remote_fs
# Should-Start:      $all
# Should-Stop:       $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: upnp media server
# Description:       Debian init script for the upnp media server
### END INIT INFO
EOF

addscript minissdpd <<'EOF'
### BEGIN INIT INFO
# Provides:          minissdpd
# Required-Start:    $remote_fs $all
# Required-Stop:     $remote_fs
# Should-Start:      $local_fs
# Should-Stop:       $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: keep memory of all UPnP devices that announced themselves
# Description:       MiniSSDPd is a small daemon used by MiniUPnPc (a UPnP control point for IGD
#                    devices) to speed up device discoveries. MiniSSDPd keep memory of all UPnP
#                    devices that announced themselves on the network through SSDP NOTIFY packets.
#                    MiniSSDPd also has the ability to handle all SSDP traffic recieved on a
#                    computer via the multicast group 239.255.255.250:1900.
### END INIT INFO
EOF

addscript motd <<'EOF'
### BEGIN INIT INFO
# Provides:          motd
# Required-Start:    hostname $local_fs
# Required-Stop:
# Should-Start:
# Default-Start:     1 2 3 4 5
# Default-Stop:
# Short-Description: Create dynamic part of /etc/motd
# Description:       /etc/motd is user-editable and static.  This script
#                    creates the initial dynamic part, by default the
#                    output of uname, and stores it in /var/run/motd.dynamic.
#                    Both parts are output by pam_motd.
### 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:
# X-Start-Before:    bootmisc
# 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 checkroot-bootclean
# 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:
# X-Start-Before:    bootmisc
# 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 mpd <<'EOF'
### BEGIN INIT INFO
# Provides:          mpd
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Should-Start:      autofs $network $named alsa-utils pulseaudio avahi-daemon
# Should-Stop:       autofs $network $named alsa-utils pulseaudio avahi-daemon
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Music Player Daemon
# Description:       Start the Music Player Daemon (MPD) service
#                    for network access to the local audio queue.
### END INIT INFO
EOF

addscript munin <<'EOF'
### BEGIN INIT INFO
# Provides:          munin
# Required-Start:    $network $named $local_fs $remote_fs
# Required-Stop:     $network $named $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Create /var/run/munin on boot
# Description:       Create /var/run/munin on boot. Munin itself runs as CGI and has no extra startscript...
### END INIT INFO
EOF

addscript munin-node <<'EOF'
### BEGIN INIT INFO
# Provides:          munin-node
# Required-Start:    $network $named $local_fs $remote_fs
# Required-Stop:     $network $named $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start/stop Munin-Node
# Description:       Start/stop Munin-Node
### END INIT INFO
EOF

addscript mysql <<'EOF'
### BEGIN INIT INFO
# Provides:          mysql
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      $network $time
# Should-Stop:       $network $time
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start and stop the mysql database server daemon
# Description:       Controls the main MySQL database server daemon "mysqld"
#                    and its wrapper script "mysqld_safe".
### END INIT INFO
EOF

addscript nethack-common <<'EOF'
### BEGIN INIT INFO
# Provides:          nethack-common
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Nethack save-file recovery script for Debian
### END INIT INFO
EOF

addscript network-manager <<'EOF'
### BEGIN INIT INFO
# Provides:          network-manager
# Required-Start:    $remote_fs dbus udev
# Required-Stop:     $remote_fs dbus udev
# Should-Start:	     $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: network connection manager
# Description:       Daemon for automatically switching network 
#		     connections to the best available connection.
### END INIT INFO
EOF

addscript networking <<'EOF'
### BEGIN INIT INFO
# Provides:          networking ifupdown
# Required-Start:    mountkernfs $local_fs urandom
# Required-Stop:     $local_fs
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Raise network interfaces.
# Description:       Prepare /run/network directory, ifstate file and raise network interfaces, or take them down.
### END INIT INFO
EOF

addscript nfs-common <<'EOF'
### BEGIN INIT INFO
# Provides:          nfs-common
# Required-Start:    $portmap $time
# Required-Stop:     $time
# Default-Start:     2 3 4 5 S
# Default-Stop:      0 1 6
# Short-Description: NFS support files common to client and server
# Description:       NFS is a popular protocol for file sharing across
#		     TCP/IP networks. This service provides various
#                    support functions for NFS mounts.
### END INIT INFO
EOF

addscript nfs-kernel-server <<'EOF'
### BEGIN INIT INFO
# Provides:          nfs-kernel-server
# Required-Start:    $remote_fs nfs-common $portmap $time
# Required-Stop:     $remote_fs nfs-common $portmap $time
# Should-Start:      $named
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Kernel NFS server support
# Description:       NFS is a popular protocol for file sharing across
#		     TCP/IP networks. This service provides NFS server
#                    functionality, which is configured via the
#                    /etc/exports file.
### END INIT INFO
EOF

addscript nmbd <<'EOF'
### BEGIN INIT INFO
# Provides:          nmbd
# Required-Start:    $network $local_fs $remote_fs
# Required-Stop:     $network $local_fs $remote_fs
# X-Start-Before:    smbd
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start Samba NetBIOS nameserver (nmbd)
### 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 ofono <<'EOF'
### BEGIN INIT INFO
# Provides:		ofono
# Required-Start:	$syslog $remote_fs dbus
# Required-Stop:	$syslog $remote_fs dbus
# Default-Start:	2 3 4 5
# Default-Stop:		0 1 6
# Short-Description:	oFono Mobile Telephony Daemon
### END INIT INFO
EOF

addscript openbsd-inetd <<'EOF'
### BEGIN INIT INFO
# Provides:          openbsd-inetd
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start or stop the inetd 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
# Description: This script will start OpenVPN tunnels as specified
#              in /etc/default/openvpn and /etc/openvpn/*.conf
### END INIT INFO
EOF

addscript pcscd <<'EOF'
### BEGIN INIT INFO
# Provides: pcscd
# Required-Start:    $local_fs $remote_fs $syslog
# Required-Stop:     $local_fs $remote_fs $syslog
# Should-Start:      udev
# Should-Stop:       udev
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Daemon to access a smart card using PC/SC
# Description:       The PC/SC daemon is used to dynamically
#                    allocate/deallocate reader drivers at runtime and manage
#                    connections to the readers.
### END INIT INFO
EOF

addscript pidentd <<'EOF'
### BEGIN INIT INFO
# Provides:          pidentd-run-dir
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     S
# Default-Stop:      
# Short-Description: setup for pidentd
# Description:       create /var/run/identd for pidentd
### END INIT INFO
EOF

addscript postfix <<'EOF'
### BEGIN INIT INFO
# Provides:          postfix mail-transport-agent
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
# Required-Stop:     $local_fs $remote_fs $syslog $named $network
# Should-Start:      postgresql mysql clamav-daemon postgrey spamassassin saslauthd dovecot
# Should-Stop:       postgresql mysql clamav-daemon postgrey spamassassin saslauthd dovecot
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start and stop the Postfix Mail Transport Agent
# Description:       postfix is a Mail Transport agent
### END INIT INFO
EOF

addscript postfix.dpkg-old <<'EOF'
### BEGIN INIT INFO
# Provides:          postfix mail-transport-agent
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
# Required-Stop:     $local_fs $remote_fs $syslog $named $network
# Should-Start:      postgresql mysql clamav-daemon postgrey spamassassin
# Should-Stop:       postgresql mysql clamav-daemon postgrey spamassassin
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start and stop the Postfix Mail Transport Agent
# Description:       postfix is a Mail Transport agent
### END INIT INFO
EOF

addscript postgresql <<'EOF'
### BEGIN INIT INFO
# Provides:		postgresql
# Required-Start:	$local_fs $remote_fs $network $time
# Required-Stop:	$local_fs $remote_fs $network $time
# Should-Start:		$syslog
# Should-Stop:		$syslog
# Default-Start:	2 3 4 5
# Default-Stop:		0 1 6
# Short-Description:	PostgreSQL RDBMS server
### 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.
# Description:       Restore /etc/resolv.conf if the system crashed before the
#                    ppp link was shut down.
### 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
# X-Start-Before:    $network
# 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 pulseaudio <<'EOF'
### BEGIN INIT INFO
# Provides:          pulseaudio esound
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      avahi udev network-manager
# Should-Stop:       avahi udev network-manager
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start the PulseAudio sound server
# Description:       System mode startup script for
#                    the PulseAudio sound server.
### END INIT INFO
EOF

addscript qemu-system-x86 <<'EOF'
### BEGIN INIT INFO
# Provides:          qemu-system-x86
# Required-Start:    mountkernfs
# Required-Stop:     
# Should-Start:      udev devfsd
# Should-Stop:       
# Default-Start:     S
# Default-Stop:      
# Short-Description: QEMU KVM module loading script
# Description:       This script loads the kernel modules needed by QEMU KVM
### END INIT INFO
EOF

addscript rc.local <<'EOF'
### BEGIN INIT INFO
# Provides:          rc.local
# Required-Start:    $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 resolvconf <<'EOF'
### BEGIN INIT INFO
# Provides:          resolvconf
# Required-Start:    $local_fs
# Required-Stop:     $local_fs
# X-Start-Before:    networking ifupdown
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Nameserver information manager
# Description:       This service manages the list of nameserver addresses
#                    used by the libc resolver and name service caches
### END INIT INFO
EOF

addscript restorecond <<'EOF'
### BEGIN INIT INFO
# Provides:          restorecond
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Daemon used to maintain SELinux file context
# Description:       This daemon uses inotify to look for creation of new files
#                    listed in the /etc/selinux/restorecond.conf file,
#                    and restores the correct security context.
### 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 /run/nologin at boot
# Description:       This script removes the /run/nologin file as the
#                    last step in the boot process, if DELAYLOGIN=yes.
#                    If DELAYLOGIN=no, /run/nologin was not created by
#                    bootmisc earlier in the boot process.
### END INIT INFO
EOF

addscript rpcbind <<'EOF'
### BEGIN INIT INFO
# Provides:          rpcbind
# Required-Start:    $network $local_fs
# Required-Stop:     $network $local_fs
# Default-Start:     2 3 4 5 S
# Default-Stop:      0 1 6
# Short-Description: RPC portmapper replacement
# Description:       rpcbind is a server that converts RPC (Remote
#                    Procedure Call) program numbers into DARPA
#                    protocol port numbers. It must be running in
#                    order to make RPC calls. Services that use
#                    RPC include NFS and NIS.
### 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 samba <<'EOF'
### BEGIN INIT INFO
# Provides:          samba
# Required-Start:    smbd nmbd
# Required-Stop:     smbd nmbd
# Default-Start:     
# Default-Stop:      
# Short-Description: ensure Samba daemons are started (nmbd and smbd)
### END INIT INFO
EOF

addscript samba-ad-dc <<'EOF'
### BEGIN INIT INFO
# Provides:          samba-ad-dc
# Required-Start:    $network $local_fs $remote_fs
# Required-Stop:     $network $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start Samba daemons for the AD DC
### 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 saslauthd <<'EOF'
### BEGIN INIT INFO
# Provides:          saslauthd
# 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: saslauthd startup script
# Description:       This script starts the saslauthd daemon. It is
#                    configured using the file /etc/default/saslauthd.
### END INIT INFO
EOF

addscript schroot <<'EOF'
### BEGIN INIT INFO
# Provides:          schroot
# Required-Start:    $local_fs $syslog $network $remote_fs
# Required-Stop:     $local_fs $syslog $network $remote_fs
# Should-Start:      lvm
# Should-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Recover schroot sessions.
# Description:       Activate any persistent sessions after a reboot.
#                    Setup scripts will be run to mount filesystems and
#                    bring the chroot back to a working state.
### 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
# Description: Cleans up the screen session directory and fixes its
#  permissions if needed.
### 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 setkey <<'EOF'
### BEGIN INIT INFO
# Provides:          setkey
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     S
# Default-Stop:
# Short-Description: option to manually manipulate the IPsec SA/SP database 
### 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 slapd <<'EOF'
### BEGIN INIT INFO
# Provides:          slapd
# Required-Start:    $remote_fs $network $syslog
# Required-Stop:     $remote_fs $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: OpenLDAP standalone server (Lightweight Directory Access Protocol)
### END INIT INFO
EOF

addscript smartmontools <<'EOF'
### BEGIN INIT INFO
# Provides:          smartmontools
# Required-Start:    $syslog $remote_fs
# Required-Stop:     $syslog $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      1
# Short-Description: SMART monitoring daemon
### END INIT INFO
EOF

addscript smbd <<'EOF'
### BEGIN INIT INFO
# Provides:          smbd
# Required-Start:    $network $local_fs $remote_fs
# Required-Stop:     $network $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Should-Start:      slapd cups
# Should-Stop:       slapd cups
# Short-Description: start Samba SMB/CIFS daemon (smbd)
### END INIT INFO
EOF

addscript speech-dispatcher <<'EOF'
### BEGIN INIT INFO
# Provides:          speech-dispatcher
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      festival
# Should-Stop:       festival
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Speech Dispatcher
# Description:       Common interface to speech synthesizers
### 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 stunnel4 <<'EOF'
### BEGIN INIT INFO
# Provides:          stunnel4
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start or stop stunnel 4.x (SSL tunnel for network daemons)
# Description:       Starts or stops all configured SSL network tunnels. Each *.conf file in
#                    /etc/stunnel/ will spawn a separate stunnel process. The list of files
#                    can be overriden in /etc/default/stunnel, and that same file can be used
#                    to completely disable *all* tunnels.
### 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:
# Short-Description: Provide limited super user privileges to specific users
# Description: Provide limited super user privileges to specific users.
### END INIT INFO
EOF

addscript tinc <<'EOF'
### BEGIN INIT INFO
# Provides:          tinc
# Required-Start:    $remote_fs $network
# Required-Stop:     $remote_fs $network
# Should-Start:      $syslog $named
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start tinc daemons
# Description:       Create a file $NETSFILE (/etc/tinc/nets.boot),
#                    and put all the names of the networks in there.
#                    These names must be valid directory names under
#                    $TCONF (/etc/tinc). Lines starting with a # will be
#                    ignored in this file.
### END INIT INFO
EOF

addscript tinyproxy <<'EOF'
### BEGIN INIT INFO
# Provides:          tinyproxy
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Tinyproxy HTTP proxy
# Description:       Start, stop or reload tinyproxy.
### 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 transmission-daemon <<'EOF'
### BEGIN INIT INFO
# Provides:          transmission-daemon
# Required-Start:    $local_fs $remote_fs $network
# Required-Stop:     $local_fs $remote_fs $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start or stop the transmission-daemon.
# Description:       Enable service provided by transmission-daemon.
### END INIT INFO
EOF

addscript udev <<'EOF'
### BEGIN INIT INFO
# Provides:          udev
# Required-Start:    mountkernfs 
# Required-Stop:     
# Default-Start:     S
# Default-Stop:
# Short-Description: Start udevd, populate /dev and load drivers.
### 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:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Provides:          unattended-upgrade-shutdown-check
# Default-Start:
# Default-Stop:      0 6
# 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 $time
# 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 virtualbox <<'EOF'
### BEGIN INIT INFO
# Provides:       vboxdrv virtualbox
# Required-Start: $remote_fs $network
# Required-Stop:  $remote_fs
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Short-Description: VirtualBox Linux kernel module
### END INIT INFO
EOF

addscript winbind <<'EOF'
### BEGIN INIT INFO
# Provides:          winbind
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Should-Start:      samba
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start Winbind daemon
### END INIT INFO
EOF

addscript x11-common <<'EOF'
### BEGIN INIT INFO
# Provides:          x11-common
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     S
# Default-Stop:
### END INIT INFO
EOF

addscript xinetd <<'EOF'
### BEGIN INIT INFO
# Provides:          xinetd inetd
# Required-Start:    $local_fs $remote_fs $network
# Required-Stop:     $local_fs $remote_fs $network
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Starts or stops the xinetd daemon.
# Description:       Starts and stops xinetd, an inetd replacement
### 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/mediatomb rc0.d/K01mediatomb
ln -s ../init.d/anacron rc0.d/K02anacron
ln -s ../init.d/apache2 rc0.d/K02apache2
ln -s ../init.d/atd rc0.d/K02atd
ln -s ../init.d/avahi-dnsconfd rc0.d/K02avahi-dnsconfd
ln -s ../init.d/bittorrent rc0.d/K02bittorrent
ln -s ../init.d/bluetooth rc0.d/K02bluetooth
ln -s ../init.d/bzflag rc0.d/K02bzflag
ln -s ../init.d/clamav-freshclam rc0.d/K02clamav-freshclam
ln -s ../init.d/cron rc0.d/K02cron
ln -s ../init.d/cups-browsed rc0.d/K02cups-browsed
ln -s ../init.d/ddclient rc0.d/K02ddclient
ln -s ../init.d/dirmngr rc0.d/K02dirmngr
ln -s ../init.d/ebtables rc0.d/K02ebtables
ln -s ../init.d/exim4 rc0.d/K02exim4
ln -s ../init.d/fw rc0.d/K02fw
ln -s ../init.d/gdm rc0.d/K02gdm
ln -s ../init.d/gpm rc0.d/K02gpm
ln -s ../init.d/gpsd rc0.d/K02gpsd
ln -s ../init.d/hddtemp rc0.d/K02hddtemp
ln -s ../init.d/inadyn rc0.d/K02inadyn
ln -s ../init.d/iodined rc0.d/K02iodined
ln -s ../init.d/ipkungfu rc0.d/K02ipkungfu
ln -s ../init.d/kdm rc0.d/K02kdm
ln -s ../init.d/kerneloops rc0.d/K02kerneloops
ln -s ../init.d/libvirt-guests rc0.d/K02libvirt-guests
ln -s ../init.d/lightdm rc0.d/K02lightdm
ln -s ../init.d/lirc rc0.d/K02lirc
ln -s ../init.d/lisa rc0.d/K02lisa
ln -s ../init.d/mcstrans rc0.d/K02mcstrans
ln -s ../init.d/mdadm rc0.d/K02mdadm
ln -s ../init.d/minissdpd rc0.d/K02minissdpd
ln -s ../init.d/mpd rc0.d/K02mpd
ln -s ../init.d/munin rc0.d/K02munin
ln -s ../init.d/munin-node rc0.d/K02munin-node
ln -s ../init.d/nfs-kernel-server rc0.d/K02nfs-kernel-server
ln -s ../init.d/nmbd rc0.d/K02nmbd
ln -s ../init.d/ofono rc0.d/K02ofono
ln -s ../init.d/openbsd-inetd rc0.d/K02openbsd-inetd
ln -s ../init.d/openvpn rc0.d/K02openvpn
ln -s ../init.d/pcscd rc0.d/K02pcscd
ln -s ../init.d/postfix rc0.d/K02postfix
ln -s ../init.d/resolvconf rc0.d/K02resolvconf
ln -s ../init.d/restorecond rc0.d/K02restorecond
ln -s ../init.d/samba-ad-dc rc0.d/K02samba-ad-dc
ln -s ../init.d/saned rc0.d/K02saned
ln -s ../init.d/schroot rc0.d/K02schroot
ln -s ../init.d/smbd rc0.d/K02smbd
ln -s ../init.d/speech-dispatcher rc0.d/K02speech-dispatcher
ln -s ../init.d/stunnel4 rc0.d/K02stunnel4
ln -s ../init.d/tinc rc0.d/K02tinc
ln -s ../init.d/tinyproxy rc0.d/K02tinyproxy
ln -s ../init.d/tor rc0.d/K02tor
ln -s ../init.d/transmission-daemon rc0.d/K02transmission-daemon
ln -s ../init.d/unattended-upgrades rc0.d/K02unattended-upgrades
ln -s ../init.d/urandom rc0.d/K02urandom
ln -s ../init.d/virtualbox rc0.d/K02virtualbox
ln -s ../init.d/xinetd rc0.d/K02xinetd
ln -s ../init.d/alsa-utils rc0.d/K03alsa-utils
ln -s ../init.d/dovecot rc0.d/K03dovecot
ln -s ../init.d/libvirt-bin rc0.d/K03libvirt-bin
ln -s ../init.d/saslauthd rc0.d/K03saslauthd
ln -s ../init.d/avahi-daemon rc0.d/K04avahi-daemon
ln -s ../init.d/mysql rc0.d/K04mysql
ln -s ../init.d/network-manager rc0.d/K04network-manager
ln -s ../init.d/postgresql rc0.d/K04postgresql
ln -s ../init.d/slapd rc0.d/K04slapd
ln -s ../init.d/winbind rc0.d/K04winbind
ln -s ../init.d/sendsigs rc0.d/K05sendsigs
ln -s ../init.d/rsyslog rc0.d/K06rsyslog
ln -s ../init.d/umountnfs.sh rc0.d/K07umountnfs.sh
ln -s ../init.d/nfs-common rc0.d/K08nfs-common
ln -s ../init.d/rpcbind rc0.d/K08rpcbind
ln -s ../init.d/hwclock.sh rc0.d/K09hwclock.sh
ln -s ../init.d/networking rc0.d/K09networking
ln -s ../init.d/umountfs rc0.d/K10umountfs
ln -s ../init.d/mdadm-raid rc0.d/K11mdadm-raid
ln -s ../init.d/umountroot rc0.d/K11umountroot
ln -s ../init.d/mdadm-waitidle rc0.d/K12mdadm-waitidle
ln -s ../init.d/halt rc0.d/K13halt
ln -s ../init.d/mediatomb rc1.d/K01mediatomb
ln -s ../init.d/anacron rc1.d/K02anacron
ln -s ../init.d/apache2 rc1.d/K02apache2
ln -s ../init.d/atd rc1.d/K02atd
ln -s ../init.d/avahi-dnsconfd rc1.d/K02avahi-dnsconfd
ln -s ../init.d/bittorrent rc1.d/K02bittorrent
ln -s ../init.d/bluetooth rc1.d/K02bluetooth
ln -s ../init.d/bzflag rc1.d/K02bzflag
ln -s ../init.d/clamav-freshclam rc1.d/K02clamav-freshclam
ln -s ../init.d/cron rc1.d/K02cron
ln -s ../init.d/cups-browsed rc1.d/K02cups-browsed
ln -s ../init.d/ddclient rc1.d/K02ddclient
ln -s ../init.d/dirmngr rc1.d/K02dirmngr
ln -s ../init.d/ebtables rc1.d/K02ebtables
ln -s ../init.d/exim4 rc1.d/K02exim4
ln -s ../init.d/fw rc1.d/K02fw
ln -s ../init.d/gdm rc1.d/K02gdm
ln -s ../init.d/gpm rc1.d/K02gpm
ln -s ../init.d/gpsd rc1.d/K02gpsd
ln -s ../init.d/hddtemp rc1.d/K02hddtemp
ln -s ../init.d/hotkey-setup rc1.d/K02hotkey-setup
ln -s ../init.d/inadyn rc1.d/K02inadyn
ln -s ../init.d/iodined rc1.d/K02iodined
ln -s ../init.d/ipkungfu rc1.d/K02ipkungfu
ln -s ../init.d/kdm rc1.d/K02kdm
ln -s ../init.d/kerneloops rc1.d/K02kerneloops
ln -s ../init.d/libvirt-guests rc1.d/K02libvirt-guests
ln -s ../init.d/lightdm rc1.d/K02lightdm
ln -s ../init.d/lirc rc1.d/K02lirc
ln -s ../init.d/lisa rc1.d/K02lisa
ln -s ../init.d/mcstrans rc1.d/K02mcstrans
ln -s ../init.d/mdadm rc1.d/K02mdadm
ln -s ../init.d/minissdpd rc1.d/K02minissdpd
ln -s ../init.d/mpd rc1.d/K02mpd
ln -s ../init.d/munin rc1.d/K02munin
ln -s ../init.d/munin-node rc1.d/K02munin-node
ln -s ../init.d/nfs-kernel-server rc1.d/K02nfs-kernel-server
ln -s ../init.d/nmbd rc1.d/K02nmbd
ln -s ../init.d/ofono rc1.d/K02ofono
ln -s ../init.d/openbsd-inetd rc1.d/K02openbsd-inetd
ln -s ../init.d/openvpn rc1.d/K02openvpn
ln -s ../init.d/pcscd rc1.d/K02pcscd
ln -s ../init.d/postfix rc1.d/K02postfix
ln -s ../init.d/restorecond rc1.d/K02restorecond
ln -s ../init.d/samba-ad-dc rc1.d/K02samba-ad-dc
ln -s ../init.d/saned rc1.d/K02saned
ln -s ../init.d/schroot rc1.d/K02schroot
ln -s ../init.d/smartmontools rc1.d/K02smartmontools
ln -s ../init.d/smbd rc1.d/K02smbd
ln -s ../init.d/speech-dispatcher rc1.d/K02speech-dispatcher
ln -s ../init.d/stunnel4 rc1.d/K02stunnel4
ln -s ../init.d/tinc rc1.d/K02tinc
ln -s ../init.d/tinyproxy rc1.d/K02tinyproxy
ln -s ../init.d/tor rc1.d/K02tor
ln -s ../init.d/transmission-daemon rc1.d/K02transmission-daemon
ln -s ../init.d/virtualbox rc1.d/K02virtualbox
ln -s ../init.d/xinetd rc1.d/K02xinetd
ln -s ../init.d/cups rc1.d/K03cups
ln -s ../init.d/dnsmasq rc1.d/K03dnsmasq
ln -s ../init.d/dovecot rc1.d/K03dovecot
ln -s ../init.d/libvirt-bin rc1.d/K03libvirt-bin
ln -s ../init.d/pulseaudio rc1.d/K03pulseaudio
ln -s ../init.d/saslauthd rc1.d/K03saslauthd
ln -s ../init.d/avahi-daemon rc1.d/K04avahi-daemon
ln -s ../init.d/mysql rc1.d/K04mysql
ln -s ../init.d/network-manager rc1.d/K04network-manager
ln -s ../init.d/postgresql rc1.d/K04postgresql
ln -s ../init.d/slapd rc1.d/K04slapd
ln -s ../init.d/winbind rc1.d/K04winbind
ln -s ../init.d/rsyslog rc1.d/K06rsyslog
ln -s ../init.d/nfs-common rc1.d/K08nfs-common
ln -s ../init.d/rpcbind rc1.d/K08rpcbind
ln -s ../init.d/killprocs rc1.d/S01killprocs
ln -s ../init.d/motd rc1.d/S01motd
ln -s ../init.d/bootlogs rc1.d/S07bootlogs
ln -s ../init.d/single rc1.d/S08single
ln -s ../init.d/bootchart-done rc1.d/S17bootchart-done
ln -s ../init.d/apparmor rc2.d/K01apparmor
ln -s ../init.d/bzflag rc2.d/K02bzflag
ln -s ../init.d/clamav-freshclam rc2.d/K02clamav-freshclam
ln -s ../init.d/fw rc2.d/K02fw
ln -s ../init.d/lisa rc2.d/K02lisa
ln -s ../init.d/openvpn rc2.d/K02openvpn
ln -s ../init.d/dnsmasq rc2.d/K03dnsmasq
ln -s ../init.d/binfmt-support rc2.d/S01binfmt-support
ln -s ../init.d/bittorrent rc2.d/S01bittorrent
ln -s ../init.d/dirmngr rc2.d/S01dirmngr
ln -s ../init.d/ipkungfu rc2.d/S01ipkungfu
ln -s ../init.d/motd rc2.d/S01motd
ln -s ../init.d/munin rc2.d/S01munin
ln -s ../init.d/munin-node rc2.d/S01munin-node
ln -s ../init.d/nethack-common rc2.d/S01nethack-common
ln -s ../init.d/nmbd rc2.d/S01nmbd
ln -s ../init.d/rsyslog rc2.d/S01rsyslog
ln -s ../init.d/samba-ad-dc rc2.d/S01samba-ad-dc
ln -s ../init.d/saslauthd rc2.d/S01saslauthd
ln -s ../init.d/sudo rc2.d/S01sudo
ln -s ../init.d/transmission-daemon rc2.d/S01transmission-daemon
ln -s ../init.d/virtualbox rc2.d/S01virtualbox
ln -s ../init.d/apache2 rc2.d/S02apache2
ln -s ../init.d/acpid rc2.d/S03acpid
ln -s ../init.d/actkbd rc2.d/S03actkbd
ln -s ../init.d/anacron rc2.d/S03anacron
ln -s ../init.d/atd rc2.d/S03atd
ln -s ../init.d/dbus rc2.d/S03dbus
ln -s ../init.d/ddclient rc2.d/S03ddclient
ln -s ../init.d/gpm rc2.d/S03gpm
ln -s ../init.d/hddtemp rc2.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc2.d/S03hotkey-setup
ln -s ../init.d/inadyn rc2.d/S03inadyn
ln -s ../init.d/iodined rc2.d/S03iodined
ln -s ../init.d/kerneloops rc2.d/S03kerneloops
ln -s ../init.d/lirc rc2.d/S03lirc
ln -s ../init.d/loadcpufreq rc2.d/S03loadcpufreq
ln -s ../init.d/mcstrans rc2.d/S03mcstrans
ln -s ../init.d/mdadm rc2.d/S03mdadm
ln -s ../init.d/mysql rc2.d/S03mysql
ln -s ../init.d/openbsd-inetd rc2.d/S03openbsd-inetd
ln -s ../init.d/pcscd rc2.d/S03pcscd
ln -s ../init.d/postgresql rc2.d/S03postgresql
ln -s ../init.d/restorecond rc2.d/S03restorecond
ln -s ../init.d/rsync rc2.d/S03rsync
ln -s ../init.d/schroot rc2.d/S03schroot
ln -s ../init.d/slapd rc2.d/S03slapd
ln -s ../init.d/smartmontools rc2.d/S03smartmontools
ln -s ../init.d/speech-dispatcher rc2.d/S03speech-dispatcher
ln -s ../init.d/ssh rc2.d/S03ssh
ln -s ../init.d/stunnel4 rc2.d/S03stunnel4
ln -s ../init.d/tinc rc2.d/S03tinc
ln -s ../init.d/tinyproxy rc2.d/S03tinyproxy
ln -s ../init.d/tor rc2.d/S03tor
ln -s ../init.d/xinetd rc2.d/S03xinetd
ln -s ../init.d/avahi-daemon rc2.d/S04avahi-daemon
ln -s ../init.d/bluetooth rc2.d/S04bluetooth
ln -s ../init.d/cpufrequtils rc2.d/S04cpufrequtils
ln -s ../init.d/cron rc2.d/S04cron
ln -s ../init.d/exim4 rc2.d/S04exim4
ln -s ../init.d/lightdm rc2.d/S04lightdm
ln -s ../init.d/network-manager rc2.d/S04network-manager
ln -s ../init.d/ofono rc2.d/S04ofono
ln -s ../init.d/avahi-dnsconfd rc2.d/S06avahi-dnsconfd
ln -s ../init.d/cups rc2.d/S06cups
ln -s ../init.d/cups-browsed rc2.d/S06cups-browsed
ln -s ../init.d/gdm rc2.d/S06gdm
ln -s ../init.d/gpsd rc2.d/S06gpsd
ln -s ../init.d/kdm rc2.d/S06kdm
ln -s ../init.d/libvirt-bin rc2.d/S06libvirt-bin
ln -s ../init.d/pulseaudio rc2.d/S06pulseaudio
ln -s ../init.d/saned rc2.d/S06saned
ln -s ../init.d/bootlogs rc2.d/S07bootlogs
ln -s ../init.d/libvirt-guests rc2.d/S07libvirt-guests
ln -s ../init.d/mpd rc2.d/S07mpd
ln -s ../init.d/ntp rc2.d/S07ntp
ln -s ../init.d/smbd rc2.d/S07smbd
ln -s ../init.d/winbind rc2.d/S08winbind
ln -s ../init.d/dovecot rc2.d/S09dovecot
ln -s ../init.d/postfix rc2.d/S10postfix
ln -s ../init.d/nfs-common rc2.d/S15nfs-common
ln -s ../init.d/nfs-kernel-server rc2.d/S16nfs-kernel-server
ln -s ../init.d/bootchart-done rc2.d/S17bootchart-done
ln -s ../init.d/mediatomb rc2.d/S17mediatomb
ln -s ../init.d/minissdpd rc2.d/S17minissdpd
ln -s ../init.d/rc.local rc2.d/S17rc.local
ln -s ../init.d/rmnologin rc2.d/S17rmnologin
ln -s ../init.d/fw rc3.d/K02fw
ln -s ../init.d/dnsmasq rc3.d/K03dnsmasq
ln -s ../init.d/binfmt-support rc3.d/S01binfmt-support
ln -s ../init.d/bittorrent rc3.d/S01bittorrent
ln -s ../init.d/dirmngr rc3.d/S01dirmngr
ln -s ../init.d/ipkungfu rc3.d/S01ipkungfu
ln -s ../init.d/motd rc3.d/S01motd
ln -s ../init.d/munin rc3.d/S01munin
ln -s ../init.d/munin-node rc3.d/S01munin-node
ln -s ../init.d/nethack-common rc3.d/S01nethack-common
ln -s ../init.d/nmbd rc3.d/S01nmbd
ln -s ../init.d/rsyslog rc3.d/S01rsyslog
ln -s ../init.d/samba-ad-dc rc3.d/S01samba-ad-dc
ln -s ../init.d/saslauthd rc3.d/S01saslauthd
ln -s ../init.d/sudo rc3.d/S01sudo
ln -s ../init.d/transmission-daemon rc3.d/S01transmission-daemon
ln -s ../init.d/virtualbox rc3.d/S01virtualbox
ln -s ../init.d/apache2 rc3.d/S02apache2
ln -s ../init.d/acpid rc3.d/S03acpid
ln -s ../init.d/anacron rc3.d/S03anacron
ln -s ../init.d/atd rc3.d/S03atd
ln -s ../init.d/bzflag rc3.d/S03bzflag
ln -s ../init.d/clamav-freshclam rc3.d/S03clamav-freshclam
ln -s ../init.d/dbus rc3.d/S03dbus
ln -s ../init.d/ddclient rc3.d/S03ddclient
ln -s ../init.d/gpm rc3.d/S03gpm
ln -s ../init.d/hddtemp rc3.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc3.d/S03hotkey-setup
ln -s ../init.d/inadyn rc3.d/S03inadyn
ln -s ../init.d/iodined rc3.d/S03iodined
ln -s ../init.d/kerneloops rc3.d/S03kerneloops
ln -s ../init.d/lirc rc3.d/S03lirc
ln -s ../init.d/lisa rc3.d/S03lisa
ln -s ../init.d/loadcpufreq rc3.d/S03loadcpufreq
ln -s ../init.d/mcstrans rc3.d/S03mcstrans
ln -s ../init.d/mdadm rc3.d/S03mdadm
ln -s ../init.d/mysql rc3.d/S03mysql
ln -s ../init.d/openbsd-inetd rc3.d/S03openbsd-inetd
ln -s ../init.d/pcscd rc3.d/S03pcscd
ln -s ../init.d/postgresql rc3.d/S03postgresql
ln -s ../init.d/restorecond rc3.d/S03restorecond
ln -s ../init.d/rsync rc3.d/S03rsync
ln -s ../init.d/schroot rc3.d/S03schroot
ln -s ../init.d/slapd rc3.d/S03slapd
ln -s ../init.d/smartmontools rc3.d/S03smartmontools
ln -s ../init.d/speech-dispatcher rc3.d/S03speech-dispatcher
ln -s ../init.d/ssh rc3.d/S03ssh
ln -s ../init.d/stunnel4 rc3.d/S03stunnel4
ln -s ../init.d/tinc rc3.d/S03tinc
ln -s ../init.d/tinyproxy rc3.d/S03tinyproxy
ln -s ../init.d/tor rc3.d/S03tor
ln -s ../init.d/xinetd rc3.d/S03xinetd
ln -s ../init.d/avahi-daemon rc3.d/S04avahi-daemon
ln -s ../init.d/bluetooth rc3.d/S04bluetooth
ln -s ../init.d/cpufrequtils rc3.d/S04cpufrequtils
ln -s ../init.d/cron rc3.d/S04cron
ln -s ../init.d/exim4 rc3.d/S04exim4
ln -s ../init.d/lightdm rc3.d/S04lightdm
ln -s ../init.d/network-manager rc3.d/S04network-manager
ln -s ../init.d/ofono rc3.d/S04ofono
ln -s ../init.d/openvpn rc3.d/S05openvpn
ln -s ../init.d/avahi-dnsconfd rc3.d/S06avahi-dnsconfd
ln -s ../init.d/cups rc3.d/S06cups
ln -s ../init.d/cups-browsed rc3.d/S06cups-browsed
ln -s ../init.d/gdm rc3.d/S06gdm
ln -s ../init.d/gpsd rc3.d/S06gpsd
ln -s ../init.d/kdm rc3.d/S06kdm
ln -s ../init.d/libvirt-bin rc3.d/S06libvirt-bin
ln -s ../init.d/pulseaudio rc3.d/S06pulseaudio
ln -s ../init.d/saned rc3.d/S06saned
ln -s ../init.d/bootlogs rc3.d/S07bootlogs
ln -s ../init.d/libvirt-guests rc3.d/S07libvirt-guests
ln -s ../init.d/mpd rc3.d/S07mpd
ln -s ../init.d/ntp rc3.d/S07ntp
ln -s ../init.d/smbd rc3.d/S07smbd
ln -s ../init.d/winbind rc3.d/S08winbind
ln -s ../init.d/dovecot rc3.d/S09dovecot
ln -s ../init.d/postfix rc3.d/S10postfix
ln -s ../init.d/nfs-common rc3.d/S15nfs-common
ln -s ../init.d/nfs-kernel-server rc3.d/S16nfs-kernel-server
ln -s ../init.d/bootchart-done rc3.d/S17bootchart-done
ln -s ../init.d/mediatomb rc3.d/S17mediatomb
ln -s ../init.d/minissdpd rc3.d/S17minissdpd
ln -s ../init.d/rc.local rc3.d/S17rc.local
ln -s ../init.d/rmnologin rc3.d/S17rmnologin
ln -s ../init.d/fw rc4.d/K02fw
ln -s ../init.d/dnsmasq rc4.d/K03dnsmasq
ln -s ../init.d/binfmt-support rc4.d/S01binfmt-support
ln -s ../init.d/bittorrent rc4.d/S01bittorrent
ln -s ../init.d/dirmngr rc4.d/S01dirmngr
ln -s ../init.d/ipkungfu rc4.d/S01ipkungfu
ln -s ../init.d/motd rc4.d/S01motd
ln -s ../init.d/munin rc4.d/S01munin
ln -s ../init.d/munin-node rc4.d/S01munin-node
ln -s ../init.d/nethack-common rc4.d/S01nethack-common
ln -s ../init.d/nmbd rc4.d/S01nmbd
ln -s ../init.d/rsyslog rc4.d/S01rsyslog
ln -s ../init.d/samba-ad-dc rc4.d/S01samba-ad-dc
ln -s ../init.d/saslauthd rc4.d/S01saslauthd
ln -s ../init.d/sudo rc4.d/S01sudo
ln -s ../init.d/transmission-daemon rc4.d/S01transmission-daemon
ln -s ../init.d/virtualbox rc4.d/S01virtualbox
ln -s ../init.d/apache2 rc4.d/S02apache2
ln -s ../init.d/acpid rc4.d/S03acpid
ln -s ../init.d/anacron rc4.d/S03anacron
ln -s ../init.d/atd rc4.d/S03atd
ln -s ../init.d/bzflag rc4.d/S03bzflag
ln -s ../init.d/clamav-freshclam rc4.d/S03clamav-freshclam
ln -s ../init.d/dbus rc4.d/S03dbus
ln -s ../init.d/ddclient rc4.d/S03ddclient
ln -s ../init.d/gpm rc4.d/S03gpm
ln -s ../init.d/hddtemp rc4.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc4.d/S03hotkey-setup
ln -s ../init.d/inadyn rc4.d/S03inadyn
ln -s ../init.d/iodined rc4.d/S03iodined
ln -s ../init.d/kerneloops rc4.d/S03kerneloops
ln -s ../init.d/lirc rc4.d/S03lirc
ln -s ../init.d/lisa rc4.d/S03lisa
ln -s ../init.d/loadcpufreq rc4.d/S03loadcpufreq
ln -s ../init.d/mcstrans rc4.d/S03mcstrans
ln -s ../init.d/mdadm rc4.d/S03mdadm
ln -s ../init.d/mysql rc4.d/S03mysql
ln -s ../init.d/openbsd-inetd rc4.d/S03openbsd-inetd
ln -s ../init.d/pcscd rc4.d/S03pcscd
ln -s ../init.d/postgresql rc4.d/S03postgresql
ln -s ../init.d/restorecond rc4.d/S03restorecond
ln -s ../init.d/rsync rc4.d/S03rsync
ln -s ../init.d/schroot rc4.d/S03schroot
ln -s ../init.d/slapd rc4.d/S03slapd
ln -s ../init.d/smartmontools rc4.d/S03smartmontools
ln -s ../init.d/speech-dispatcher rc4.d/S03speech-dispatcher
ln -s ../init.d/ssh rc4.d/S03ssh
ln -s ../init.d/stunnel4 rc4.d/S03stunnel4
ln -s ../init.d/tinc rc4.d/S03tinc
ln -s ../init.d/tinyproxy rc4.d/S03tinyproxy
ln -s ../init.d/tor rc4.d/S03tor
ln -s ../init.d/xinetd rc4.d/S03xinetd
ln -s ../init.d/avahi-daemon rc4.d/S04avahi-daemon
ln -s ../init.d/bluetooth rc4.d/S04bluetooth
ln -s ../init.d/cpufrequtils rc4.d/S04cpufrequtils
ln -s ../init.d/cron rc4.d/S04cron
ln -s ../init.d/exim4 rc4.d/S04exim4
ln -s ../init.d/lightdm rc4.d/S04lightdm
ln -s ../init.d/network-manager rc4.d/S04network-manager
ln -s ../init.d/ofono rc4.d/S04ofono
ln -s ../init.d/openvpn rc4.d/S05openvpn
ln -s ../init.d/avahi-dnsconfd rc4.d/S06avahi-dnsconfd
ln -s ../init.d/cups rc4.d/S06cups
ln -s ../init.d/cups-browsed rc4.d/S06cups-browsed
ln -s ../init.d/gdm rc4.d/S06gdm
ln -s ../init.d/gpsd rc4.d/S06gpsd
ln -s ../init.d/kdm rc4.d/S06kdm
ln -s ../init.d/libvirt-bin rc4.d/S06libvirt-bin
ln -s ../init.d/pulseaudio rc4.d/S06pulseaudio
ln -s ../init.d/saned rc4.d/S06saned
ln -s ../init.d/bootlogs rc4.d/S07bootlogs
ln -s ../init.d/libvirt-guests rc4.d/S07libvirt-guests
ln -s ../init.d/mpd rc4.d/S07mpd
ln -s ../init.d/ntp rc4.d/S07ntp
ln -s ../init.d/smbd rc4.d/S07smbd
ln -s ../init.d/winbind rc4.d/S08winbind
ln -s ../init.d/dovecot rc4.d/S09dovecot
ln -s ../init.d/postfix rc4.d/S10postfix
ln -s ../init.d/nfs-common rc4.d/S15nfs-common
ln -s ../init.d/nfs-kernel-server rc4.d/S16nfs-kernel-server
ln -s ../init.d/bootchart-done rc4.d/S17bootchart-done
ln -s ../init.d/mediatomb rc4.d/S17mediatomb
ln -s ../init.d/minissdpd rc4.d/S17minissdpd
ln -s ../init.d/rc.local rc4.d/S17rc.local
ln -s ../init.d/rmnologin rc4.d/S17rmnologin
ln -s ../init.d/fw rc5.d/K02fw
ln -s ../init.d/dnsmasq rc5.d/K03dnsmasq
ln -s ../init.d/binfmt-support rc5.d/S01binfmt-support
ln -s ../init.d/bittorrent rc5.d/S01bittorrent
ln -s ../init.d/dirmngr rc5.d/S01dirmngr
ln -s ../init.d/ipkungfu rc5.d/S01ipkungfu
ln -s ../init.d/motd rc5.d/S01motd
ln -s ../init.d/munin rc5.d/S01munin
ln -s ../init.d/munin-node rc5.d/S01munin-node
ln -s ../init.d/nethack-common rc5.d/S01nethack-common
ln -s ../init.d/nmbd rc5.d/S01nmbd
ln -s ../init.d/rsyslog rc5.d/S01rsyslog
ln -s ../init.d/samba-ad-dc rc5.d/S01samba-ad-dc
ln -s ../init.d/saslauthd rc5.d/S01saslauthd
ln -s ../init.d/sudo rc5.d/S01sudo
ln -s ../init.d/transmission-daemon rc5.d/S01transmission-daemon
ln -s ../init.d/virtualbox rc5.d/S01virtualbox
ln -s ../init.d/apache2 rc5.d/S02apache2
ln -s ../init.d/acpid rc5.d/S03acpid
ln -s ../init.d/anacron rc5.d/S03anacron
ln -s ../init.d/atd rc5.d/S03atd
ln -s ../init.d/bzflag rc5.d/S03bzflag
ln -s ../init.d/clamav-freshclam rc5.d/S03clamav-freshclam
ln -s ../init.d/dbus rc5.d/S03dbus
ln -s ../init.d/ddclient rc5.d/S03ddclient
ln -s ../init.d/gpm rc5.d/S03gpm
ln -s ../init.d/hddtemp rc5.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc5.d/S03hotkey-setup
ln -s ../init.d/inadyn rc5.d/S03inadyn
ln -s ../init.d/iodined rc5.d/S03iodined
ln -s ../init.d/kerneloops rc5.d/S03kerneloops
ln -s ../init.d/lirc rc5.d/S03lirc
ln -s ../init.d/lisa rc5.d/S03lisa
ln -s ../init.d/loadcpufreq rc5.d/S03loadcpufreq
ln -s ../init.d/mcstrans rc5.d/S03mcstrans
ln -s ../init.d/mdadm rc5.d/S03mdadm
ln -s ../init.d/mysql rc5.d/S03mysql
ln -s ../init.d/openbsd-inetd rc5.d/S03openbsd-inetd
ln -s ../init.d/pcscd rc5.d/S03pcscd
ln -s ../init.d/postgresql rc5.d/S03postgresql
ln -s ../init.d/restorecond rc5.d/S03restorecond
ln -s ../init.d/rsync rc5.d/S03rsync
ln -s ../init.d/schroot rc5.d/S03schroot
ln -s ../init.d/slapd rc5.d/S03slapd
ln -s ../init.d/smartmontools rc5.d/S03smartmontools
ln -s ../init.d/speech-dispatcher rc5.d/S03speech-dispatcher
ln -s ../init.d/ssh rc5.d/S03ssh
ln -s ../init.d/stunnel4 rc5.d/S03stunnel4
ln -s ../init.d/tinc rc5.d/S03tinc
ln -s ../init.d/tinyproxy rc5.d/S03tinyproxy
ln -s ../init.d/tor rc5.d/S03tor
ln -s ../init.d/xinetd rc5.d/S03xinetd
ln -s ../init.d/avahi-daemon rc5.d/S04avahi-daemon
ln -s ../init.d/bluetooth rc5.d/S04bluetooth
ln -s ../init.d/cpufrequtils rc5.d/S04cpufrequtils
ln -s ../init.d/cron rc5.d/S04cron
ln -s ../init.d/exim4 rc5.d/S04exim4
ln -s ../init.d/lightdm rc5.d/S04lightdm
ln -s ../init.d/network-manager rc5.d/S04network-manager
ln -s ../init.d/ofono rc5.d/S04ofono
ln -s ../init.d/openvpn rc5.d/S05openvpn
ln -s ../init.d/avahi-dnsconfd rc5.d/S06avahi-dnsconfd
ln -s ../init.d/cups rc5.d/S06cups
ln -s ../init.d/cups-browsed rc5.d/S06cups-browsed
ln -s ../init.d/gdm rc5.d/S06gdm
ln -s ../init.d/gpsd rc5.d/S06gpsd
ln -s ../init.d/kdm rc5.d/S06kdm
ln -s ../init.d/libvirt-bin rc5.d/S06libvirt-bin
ln -s ../init.d/pulseaudio rc5.d/S06pulseaudio
ln -s ../init.d/saned rc5.d/S06saned
ln -s ../init.d/bootlogs rc5.d/S07bootlogs
ln -s ../init.d/libvirt-guests rc5.d/S07libvirt-guests
ln -s ../init.d/mpd rc5.d/S07mpd
ln -s ../init.d/ntp rc5.d/S07ntp
ln -s ../init.d/smbd rc5.d/S07smbd
ln -s ../init.d/winbind rc5.d/S08winbind
ln -s ../init.d/dovecot rc5.d/S09dovecot
ln -s ../init.d/postfix rc5.d/S10postfix
ln -s ../init.d/nfs-common rc5.d/S15nfs-common
ln -s ../init.d/nfs-kernel-server rc5.d/S16nfs-kernel-server
ln -s ../init.d/bootchart-done rc5.d/S17bootchart-done
ln -s ../init.d/mediatomb rc5.d/S17mediatomb
ln -s ../init.d/minissdpd rc5.d/S17minissdpd
ln -s ../init.d/rc.local rc5.d/S17rc.local
ln -s ../init.d/rmnologin rc5.d/S17rmnologin
ln -s ../init.d/mediatomb rc6.d/K01mediatomb
ln -s ../init.d/anacron rc6.d/K02anacron
ln -s ../init.d/apache2 rc6.d/K02apache2
ln -s ../init.d/atd rc6.d/K02atd
ln -s ../init.d/avahi-dnsconfd rc6.d/K02avahi-dnsconfd
ln -s ../init.d/bittorrent rc6.d/K02bittorrent
ln -s ../init.d/bluetooth rc6.d/K02bluetooth
ln -s ../init.d/bzflag rc6.d/K02bzflag
ln -s ../init.d/clamav-freshclam rc6.d/K02clamav-freshclam
ln -s ../init.d/cron rc6.d/K02cron
ln -s ../init.d/cups-browsed rc6.d/K02cups-browsed
ln -s ../init.d/ddclient rc6.d/K02ddclient
ln -s ../init.d/dirmngr rc6.d/K02dirmngr
ln -s ../init.d/ebtables rc6.d/K02ebtables
ln -s ../init.d/exim4 rc6.d/K02exim4
ln -s ../init.d/fw rc6.d/K02fw
ln -s ../init.d/gdm rc6.d/K02gdm
ln -s ../init.d/gpm rc6.d/K02gpm
ln -s ../init.d/gpsd rc6.d/K02gpsd
ln -s ../init.d/hddtemp rc6.d/K02hddtemp
ln -s ../init.d/inadyn rc6.d/K02inadyn
ln -s ../init.d/iodined rc6.d/K02iodined
ln -s ../init.d/ipkungfu rc6.d/K02ipkungfu
ln -s ../init.d/kdm rc6.d/K02kdm
ln -s ../init.d/kerneloops rc6.d/K02kerneloops
ln -s ../init.d/libvirt-guests rc6.d/K02libvirt-guests
ln -s ../init.d/lightdm rc6.d/K02lightdm
ln -s ../init.d/lirc rc6.d/K02lirc
ln -s ../init.d/lisa rc6.d/K02lisa
ln -s ../init.d/mcstrans rc6.d/K02mcstrans
ln -s ../init.d/mdadm rc6.d/K02mdadm
ln -s ../init.d/minissdpd rc6.d/K02minissdpd
ln -s ../init.d/mpd rc6.d/K02mpd
ln -s ../init.d/munin rc6.d/K02munin
ln -s ../init.d/munin-node rc6.d/K02munin-node
ln -s ../init.d/nfs-kernel-server rc6.d/K02nfs-kernel-server
ln -s ../init.d/nmbd rc6.d/K02nmbd
ln -s ../init.d/ofono rc6.d/K02ofono
ln -s ../init.d/openbsd-inetd rc6.d/K02openbsd-inetd
ln -s ../init.d/openvpn rc6.d/K02openvpn
ln -s ../init.d/pcscd rc6.d/K02pcscd
ln -s ../init.d/postfix rc6.d/K02postfix
ln -s ../init.d/resolvconf rc6.d/K02resolvconf
ln -s ../init.d/restorecond rc6.d/K02restorecond
ln -s ../init.d/samba-ad-dc rc6.d/K02samba-ad-dc
ln -s ../init.d/saned rc6.d/K02saned
ln -s ../init.d/schroot rc6.d/K02schroot
ln -s ../init.d/smbd rc6.d/K02smbd
ln -s ../init.d/speech-dispatcher rc6.d/K02speech-dispatcher
ln -s ../init.d/stunnel4 rc6.d/K02stunnel4
ln -s ../init.d/tinc rc6.d/K02tinc
ln -s ../init.d/tinyproxy rc6.d/K02tinyproxy
ln -s ../init.d/tor rc6.d/K02tor
ln -s ../init.d/transmission-daemon rc6.d/K02transmission-daemon
ln -s ../init.d/unattended-upgrades rc6.d/K02unattended-upgrades
ln -s ../init.d/urandom rc6.d/K02urandom
ln -s ../init.d/virtualbox rc6.d/K02virtualbox
ln -s ../init.d/xinetd rc6.d/K02xinetd
ln -s ../init.d/alsa-utils rc6.d/K03alsa-utils
ln -s ../init.d/dovecot rc6.d/K03dovecot
ln -s ../init.d/libvirt-bin rc6.d/K03libvirt-bin
ln -s ../init.d/saslauthd rc6.d/K03saslauthd
ln -s ../init.d/avahi-daemon rc6.d/K04avahi-daemon
ln -s ../init.d/mysql rc6.d/K04mysql
ln -s ../init.d/network-manager rc6.d/K04network-manager
ln -s ../init.d/postgresql rc6.d/K04postgresql
ln -s ../init.d/slapd rc6.d/K04slapd
ln -s ../init.d/winbind rc6.d/K04winbind
ln -s ../init.d/sendsigs rc6.d/K05sendsigs
ln -s ../init.d/rsyslog rc6.d/K06rsyslog
ln -s ../init.d/umountnfs.sh rc6.d/K07umountnfs.sh
ln -s ../init.d/nfs-common rc6.d/K08nfs-common
ln -s ../init.d/rpcbind rc6.d/K08rpcbind
ln -s ../init.d/hwclock.sh rc6.d/K09hwclock.sh
ln -s ../init.d/networking rc6.d/K09networking
ln -s ../init.d/umountfs rc6.d/K10umountfs
ln -s ../init.d/mdadm-raid rc6.d/K11mdadm-raid
ln -s ../init.d/umountroot rc6.d/K11umountroot
ln -s ../init.d/mdadm-waitidle rc6.d/K12mdadm-waitidle
ln -s ../init.d/reboot rc6.d/K13reboot
ln -s ../init.d/apparmor rcS.d/K79apparmor
ln -s ../init.d/hostname.sh rcS.d/S01hostname.sh
ln -s ../init.d/mountkernfs.sh rcS.d/S01mountkernfs.sh
ln -s ../init.d/udev rcS.d/S02udev
ln -s ../init.d/mdadm-raid rcS.d/S03mdadm-raid
ln -s ../init.d/mountdevsubfs.sh rcS.d/S03mountdevsubfs.sh
ln -s ../init.d/qemu-system-x86 rcS.d/S03qemu-system-x86
ln -s ../init.d/keymap.sh rcS.d/S04keymap.sh
ln -s ../init.d/keyboard-setup rcS.d/S05keyboard-setup
ln -s ../init.d/hdparm rcS.d/S06hdparm
ln -s ../init.d/hwclock.sh rcS.d/S06hwclock.sh
ln -s ../init.d/lvm2 rcS.d/S06lvm2
ln -s ../init.d/checkroot.sh rcS.d/S07checkroot.sh
ln -s ../init.d/checkfs.sh rcS.d/S08checkfs.sh
ln -s ../init.d/checkroot-bootclean.sh rcS.d/S09checkroot-bootclean.sh
ln -s ../init.d/kmod rcS.d/S09kmod
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/ebtables rcS.d/S12ebtables
ln -s ../init.d/pppd-dns rcS.d/S12pppd-dns
ln -s ../init.d/procps rcS.d/S12procps
ln -s ../init.d/resolvconf rcS.d/S12resolvconf
ln -s ../init.d/urandom rcS.d/S12urandom
ln -s ../init.d/networking rcS.d/S13networking
ln -s ../init.d/rpcbind rcS.d/S14rpcbind
ln -s ../init.d/nfs-common rcS.d/S15nfs-common
ln -s ../init.d/mountnfs.sh rcS.d/S16mountnfs.sh
ln -s ../init.d/mountnfs-bootclean.sh rcS.d/S17mountnfs-bootclean.sh
ln -s ../init.d/console-screen.sh rcS.d/S18console-screen.sh
ln -s ../init.d/console-setup rcS.d/S19console-setup
ln -s ../init.d/alsa-utils rcS.d/S20alsa-utils
ln -s ../init.d/bootmisc.sh rcS.d/S20bootmisc.sh
ln -s ../init.d/lm-sensors rcS.d/S20lm-sensors
ln -s ../init.d/pidentd rcS.d/S20pidentd
ln -s ../init.d/screen-cleanup rcS.d/S20screen-cleanup
ln -s ../init.d/setkey rcS.d/S20setkey
ln -s ../init.d/x11-common rcS.d/S20x11-common

list_rclinks


More information about the Pkg-sysvinit-devel mailing list