[Pkg-sysvinit-devel] Bug#581907: sysv-rc: performance regression with CONCURRENCY=makefile

Felipe Sateler fsateler at gmail.com
Mon May 17 05:19:11 UTC 2010


Package: sysv-rc
Version: 2.88dsf-5
Severity: normal

As per [1], I'm reporting this against the sysv-rc package.
CONCURRENCY=makefile results in a performance hit to my boot sequence,
both with and without readahead.

Attached are: the bootchart logs and the output of make-testsuite.

The machine is a Dell Inspiron 1420, find attached the output of lspci
and hdparm -I. The machine gets its IP address via DHCP, but network
cards are managed via NetworkManager, no network interfaces are listed
in /etc/network/interfaces. Please tell me if more information is
needed.



[1] http://lists.debian.org/debian-devel/2010/05/msg00490.html

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  insserv                       1.14.0-2   Tool to organize boot sequence usi
ii  sysvinit-utils                2.88dsf-5  System-V-like utilities

Versions of packages sysv-rc recommends:
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip

Versions of packages sysv-rc suggests:
pn  bum                           <none>     (no description available)
pn  sysv-rc-conf                  <none>     (no description available)

-- debconf information:
  sysv-rc/unable-to-convert:
  sysv-rc/convert-legacy: true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bootchart-makefile.png
Type: image/png
Size: 315925 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100517/bba4db9e/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bootchart-makefile-readahead.png
Type: image/png
Size: 222993 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100517/bba4db9e/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bootchart-none.png
Type: image/png
Size: 286288 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100517/bba4db9e/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bootchart-none-readahead.png
Type: image/png
Size: 154351 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100517/bba4db9e/attachment-0007.png>
-------------- next part --------------

/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD1200BEVS-75UST0                   
	Serial Number:      WD-WXEY07604010
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  234441648
	LBA48  user addressable sectors:  234441648
	Logical/Physical Sector size:           512 bytes
	device size with M = 1024*1024:      114473 MBytes
	device size with M = 1000*1000:      120034 MBytes (120 GB)
	cache/buffer size  = 8192 KBytes
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 8
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	Gen1 signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	   *	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
		frozen
	not	expired: security count
	not	supported: enhanced erase
	46min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256219b7e
	NAA		: 5
	IEEE OUI	: 0014ee
	Unique ID	: 256219b7e
Checksum: correct
-------------- next part --------------
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
	Subsystem: Dell Inspiron 1420
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at eff8 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
	Subsystem: Dell Dell Inspiron 1420
	Flags: bus master, fast devsel, latency 0
	Memory at feb00000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 6f20 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 6f00 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) (prog-if 20 [EHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 22
	Memory at fed1c400 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
	Subsystem: Dell Inspiron 1420
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel

00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: 80000000-801fffff
	Prefetchable memory behind bridge: 0000000080200000-00000000803fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: fe800000-fe8fffff
	Prefetchable memory behind bridge: 0000000080400000-00000000805fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=0d, subordinate=0e, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fe600000-fe7fffff
	Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: fe500000-fe5fffff
	Prefetchable memory behind bridge: 0000000080600000-00000000807fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 6f80 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 6f60 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 22
	I/O ports at 6f40 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) (prog-if 20 [EHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 20
	Memory at fed1c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
	Memory behind bridge: fe400000-fe4fffff
	Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>

00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at 6fa0 [size=16]
	Kernel driver in use: ata_piix

00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 01f3
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 28
	I/O ports at 6eb0 [size=8]
	I/O ports at 6eb8 [size=4]
	I/O ports at 6ec0 [size=8]
	I/O ports at 6ec8 [size=4]
	I/O ports at 6ee0 [size=32]
	Memory at fe9fb800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
	Subsystem: Dell Inspiron 1420
	Flags: medium devsel, IRQ 17
	Memory at fe9fb700 (32-bit, non-prefetchable) [size=256]
	I/O ports at 10c0 [size=32]
	Kernel driver in use: i801_smbus

03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) (prog-if 10 [OHCI])
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 64, IRQ 19
	Memory at fe4ff800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: firewire_ohci

03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) (prog-if 01)
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 64, IRQ 18
	Memory at fe4ff500 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci

03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 64, IRQ 4
	Memory at fe4ff600 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>

03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
	Subsystem: Dell Inspiron 1420
	Flags: bus master, medium devsel, latency 64, IRQ 4
	Memory at fe4ff700 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>

09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
	Subsystem: Dell Inspiron 1420
	Flags: bus master, fast devsel, latency 0, IRQ 31
	Memory at fe5f0000 (64-bit, non-prefetchable) [size=64K]
	Expansion ROM at <ignored> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: tg3

0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
	Subsystem: Intel Corporation Device 1020
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Memory at fe8ff000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: iwl3945

-------------- next part --------------
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 acct <<'EOF'
### BEGIN INIT INFO
# Provides:          acct
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: process and login accounting
# Description:       GNU Accounting Utilities is a set of utilities which
#                    reports and summarizes data about user connect times and
#                    process execution statistics.
### END INIT INFO
EOF

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 apache2 <<'EOF'
### BEGIN INIT INFO
# Provides:          apache2
# Required-Start:    $local_fs $remote_fs $network $syslog
# Required-Stop:     $local_fs $remote_fs $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Interactive:     true
# Short-Description: Start/stop apache2 web server
### 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 atop <<'EOF'
### BEGIN INIT INFO
# Provides:          atop
# Required-Start:    $syslog
# Required-Stop:     $syslog
# Should-Start:      $local_fs
# Should-Stop:       $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Monitor for system resources and process activity
# Description:       Atop is an ASCII full-screen performance monitor,
#                    similar to the top command, but atop only shows
#                    the active system-resources and processes, and
#                    only shows the deviations since the previous
#                    interval.
### END INIT INFO
EOF

addscript 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 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 bootchart <<'EOF'
### BEGIN INIT INFO
# Provides:          bootchart
# 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 came up.
### 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-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-screen.sh.dpkg-old <<'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:      slapd
# Should-Stop:       slapd
# Default-Start:     2 3 4 5
# Default-Stop:      1
# 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
# 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 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 early-readahead <<'EOF'
### BEGIN INIT INFO
# Provides:          early-readahead
# Required-Start:    
# Required-Stop:
# Should-Start:      mountkernfs
# X-Start-Before:    udev mountdevsubfs
# Default-Start:     S
# Default-Stop:
# Short-Description: init script for readahead-fedora
### 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 gdm <<'EOF'
### BEGIN INIT INFO
# Provides:          gdm
# Should-Start:      console-screen kbd acpid dbus hal network-manager
# 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: 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 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:    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 incron <<'EOF'
### BEGIN INIT INFO
# Provides:          incron
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: File system events scheduler
### 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 hal
# 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 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 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 lastfmsubmitd <<'EOF'
### BEGIN INIT INFO
# Provides:          lastfmsubmitd
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start and stop lastfmsubmit daemon
### END INIT INFO
EOF

addscript later-readahead <<'EOF'
### BEGIN INIT INFO
# Provides:          later-readahead
# Required-Start:    $remote_fs
# Required-Stop:
# Should-Start:      mountkernfs
# X-Start-Before:
# Default-Start:     S
# Default-Stop:
# Short-Description: init script for readahead-fedora
### END INIT INFO
EOF

addscript lighttpd <<'EOF'
### BEGIN INIT INFO
# Provides:          lighttpd
# Required-Start:    $syslog $remote_fs $network
# Required-Stop:     $syslog $remote_fs $network
# Should-Start:      fam
# Should-Stop:       fam
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start the lighttpd web server.
### 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-init <<'EOF'
### BEGIN INIT INFO
# Provides:          local_admin
# Required-Start:    $local_fs
# Required-Stop:     
# Should-Start:      
# Should-Stop:       
# Default-Start:     2 3 4 5
# Default-Stop:      
# Short-Description: Local init script
# Description:       This init script is for the local admin to modify
#                    
#                    
### 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 mysql <<'EOF'
### BEGIN INIT INFO
# Provides:          mysql
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      $network $named $time
# Should-Stop:       $network $named $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 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
# 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 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
# 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:    udev
# Required-Stop:
# 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 policykit <<'EOF'
### BEGIN INIT INFO
# Provides:          policykit
# Required-Start:    $local_fs
# Required-Stop:
# Default-Start:     S
# Default-Stop:
# Short-Description: Create PolicyKit runtime directories
# Description:       Create directories which PolicyKit needs at runtime,
#                    such as /var/run/PolicyKit
### 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
# 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-8.3 <<'EOF'
### BEGIN INIT INFO
# Provides:		postgresql-8.3
# 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 8.3 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.
### 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 pulseaudio <<'EOF'
### BEGIN INIT INFO
# Provides:          pulseaudio esound
# Required-Start:    $remote_fs $syslog dbus
# Required-Stop:     $remote_fs $syslog dbus
# Should-Start:      dbus
# Should-Stop:       dbus
# Default-Start:     2 3 4 5
# Default-Stop:      1
# Short-Description: Start the PulseAudio sound server
# Description:       System mode startup script for
#                    the PulseAudio sound server.
### END INIT INFO
EOF

addscript qemu-kvm <<'EOF'
### BEGIN INIT INFO
# Provides:          qemu-kvm kvm
# Required-Start:    
# Required-Stop:     
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: KVM init script
# Description:       This script loads the kernel modules needed by kvm
### END INIT INFO
EOF

addscript rc.local <<'EOF'
### BEGIN INIT INFO
# Provides:          rc.local
# Required-Start:    $remote_fs $syslog $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO
EOF

addscript reboot <<'EOF'
### BEGIN INIT INFO
# Provides:          reboot
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:      6
# Short-Description: Execute the reboot command.
# Description:
### END INIT INFO
EOF

addscript rmnologin <<'EOF'
### BEGIN INIT INFO
# Provides:          rmnologin
# Required-Start:    $remote_fs $all
# Required-Stop: 
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Remove /etc/nologin at boot
# Description:       This script removes the /etc/nologin file as the
#                    last step in the boot process, if DELAYLOGIN=yes.
#                    If DELAYLOGIN=no, /etc/nologin was not created by
#                    bootmisc earlier in the boot process.
### END INIT INFO
EOF

addscript rsync <<'EOF'
### BEGIN INIT INFO
# Provides:          rsyncd
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      $named
# Default-Start:     2 3 4 5
# Default-Stop:      
# Short-Description: fast remote file copy program daemon
# Description:       rsync is a program that allows files to be copied to and
#                    from remote machines in much the same way as rcp.
#                    This provides rsyncd daemon functionality.
### END INIT INFO
EOF

addscript rsyslog <<'EOF'
### BEGIN INIT INFO
# Provides:          rsyslog
# Required-Start:    $remote_fs $time
# Required-Stop:     umountnfs $time
# X-Stop-After:      sendsigs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: enhanced syslogd
# Description:       Rsyslog is an enhanced multi-threaded syslogd.
#                    It is quite compatible to stock sysklogd and can be 
#                    used as a drop-in replacement.
### END INIT INFO
EOF

addscript samba <<'EOF'
### BEGIN INIT INFO
# Provides:          samba
# 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
# Should-Stop:       slapd
# Short-Description: start Samba daemons (nmbd and smbd)
### 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 schroot <<'EOF'
### BEGIN INIT INFO
# Provides:          schroot
# Required-Start:    $local_fs $network $remote_fs
# Required-Stop:
# Should-Start:      lvm
# Should-Stop:
# Default-Start:     S
# Default-Stop:
# 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
### 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 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 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 stop-readahead-fedora <<'EOF'
### BEGIN INIT INFO
# Provides:          stop-readahead-fedora
# Required-Start:    $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: init script for stopping readahead profiling
### 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 sysstat <<'EOF'
### BEGIN INIT INFO
# Provides:          sysstat
# Required-Start:    $remote_fs $local_fs $syslog
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Start/stop sysstat's sadc
# Description:       Sysstat contains system performance tools for Linux
#                    The init file runs the sadc command in order to write
#                    the "LINUX RESTART" mark to the daily data file
### END INIT INFO
EOF

addscript timidity <<'EOF'
### BEGIN INIT INFO
# Provides: timidity
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start:  2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start and stop timidity
# Description:  TiMidity++ is a very high quality software-only MIDI sequencer
#        and MOD player.
### 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, devfs,
#                    devpts, usbfs, sysfs) that are not mounted at the
#                    top level.
### END INIT INFO
EOF

addscript umountroot <<'EOF'
### BEGIN INIT INFO
# Provides:          umountroot
# Required-Start:
# Required-Stop:
# Should-Stop:       halt reboot kexec
# Default-Start:
# Default-Stop:      0 6
# Short-Description: Mount the root filesystem read-only.
### END INIT INFO
EOF

addscript urandom <<'EOF'
### BEGIN INIT INFO
# Provides:          urandom
# Required-Start:    $remote_fs
# Required-Stop:     $remote_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-ose <<'EOF'
### BEGIN INIT INFO
# Provides:       vboxdrv virtualbox-ose
# 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 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/acct rc0.d/K01acct
ln -s ../init.d/alsa-utils rc0.d/K01alsa-utils
ln -s ../init.d/anacron rc0.d/K01anacron
ln -s ../init.d/apache2 rc0.d/K01apache2
ln -s ../init.d/atd rc0.d/K01atd
ln -s ../init.d/atop rc0.d/K01atop
ln -s ../init.d/bluetooth rc0.d/K01bluetooth
ln -s ../init.d/cron rc0.d/K01cron
ln -s ../init.d/dirmngr rc0.d/K01dirmngr
ln -s ../init.d/gdm rc0.d/K01gdm
ln -s ../init.d/hddtemp rc0.d/K01hddtemp
ln -s ../init.d/kdm rc0.d/K01kdm
ln -s ../init.d/laptop-mode rc0.d/K01laptop-mode
ln -s ../init.d/lastfmsubmitd rc0.d/K01lastfmsubmitd
ln -s ../init.d/lighttpd rc0.d/K01lighttpd
ln -s ../init.d/network-manager rc0.d/K01network-manager
ln -s ../init.d/openbsd-inetd rc0.d/K01openbsd-inetd
ln -s ../init.d/openvpn rc0.d/K01openvpn
ln -s ../init.d/postfix rc0.d/K01postfix
ln -s ../init.d/postgresql-8.3 rc0.d/K01postgresql-8.3
ln -s ../init.d/samba rc0.d/K01samba
ln -s ../init.d/saned rc0.d/K01saned
ln -s ../init.d/smartmontools rc0.d/K01smartmontools
ln -s ../init.d/stop-readahead-fedora rc0.d/K01stop-readahead-fedora
ln -s ../init.d/timidity rc0.d/K01timidity
ln -s ../init.d/urandom rc0.d/K01urandom
ln -s ../init.d/virtualbox-ose rc0.d/K01virtualbox-ose
ln -s ../init.d/avahi-daemon rc0.d/K02avahi-daemon
ln -s ../init.d/mysql rc0.d/K02mysql
ln -s ../init.d/sendsigs rc0.d/K03sendsigs
ln -s ../init.d/rsyslog rc0.d/K04rsyslog
ln -s ../init.d/hwclock.sh rc0.d/K05hwclock.sh
ln -s ../init.d/umountnfs.sh rc0.d/K05umountnfs.sh
ln -s ../init.d/networking rc0.d/K06networking
ln -s ../init.d/ifupdown rc0.d/K07ifupdown
ln -s ../init.d/umountfs rc0.d/K08umountfs
ln -s ../init.d/umountroot rc0.d/K09umountroot
ln -s ../init.d/halt rc0.d/K10halt
ln -s ../init.d/acct rc1.d/K01acct
ln -s ../init.d/alsa-utils rc1.d/K01alsa-utils
ln -s ../init.d/anacron rc1.d/K01anacron
ln -s ../init.d/apache2 rc1.d/K01apache2
ln -s ../init.d/atd rc1.d/K01atd
ln -s ../init.d/atop rc1.d/K01atop
ln -s ../init.d/bluetooth rc1.d/K01bluetooth
ln -s ../init.d/cron rc1.d/K01cron
ln -s ../init.d/dirmngr rc1.d/K01dirmngr
ln -s ../init.d/gdm rc1.d/K01gdm
ln -s ../init.d/hal rc1.d/K01hal
ln -s ../init.d/hddtemp rc1.d/K01hddtemp
ln -s ../init.d/hotkey-setup rc1.d/K01hotkey-setup
ln -s ../init.d/incron rc1.d/K01incron
ln -s ../init.d/kdm rc1.d/K01kdm
ln -s ../init.d/laptop-mode rc1.d/K01laptop-mode
ln -s ../init.d/lastfmsubmitd rc1.d/K01lastfmsubmitd
ln -s ../init.d/lighttpd rc1.d/K01lighttpd
ln -s ../init.d/network-manager rc1.d/K01network-manager
ln -s ../init.d/openbsd-inetd rc1.d/K01openbsd-inetd
ln -s ../init.d/openvpn rc1.d/K01openvpn
ln -s ../init.d/postfix rc1.d/K01postfix
ln -s ../init.d/postgresql-8.3 rc1.d/K01postgresql-8.3
ln -s ../init.d/pulseaudio rc1.d/K01pulseaudio
ln -s ../init.d/samba rc1.d/K01samba
ln -s ../init.d/saned rc1.d/K01saned
ln -s ../init.d/smartmontools rc1.d/K01smartmontools
ln -s ../init.d/stop-readahead-fedora rc1.d/K01stop-readahead-fedora
ln -s ../init.d/timidity rc1.d/K01timidity
ln -s ../init.d/virtualbox-ose rc1.d/K01virtualbox-ose
ln -s ../init.d/avahi-daemon rc1.d/K02avahi-daemon
ln -s ../init.d/cups rc1.d/K02cups
ln -s ../init.d/mysql rc1.d/K02mysql
ln -s ../init.d/rsyslog rc1.d/K04rsyslog
ln -s ../init.d/killprocs rc1.d/S01killprocs
ln -s ../init.d/bootlogs rc1.d/S06bootlogs
ln -s ../init.d/bootchart rc1.d/S07bootchart
ln -s ../init.d/single rc1.d/S07single
ln -s ../init.d/apache2 rc2.d/K01apache2
ln -s ../init.d/lighttpd rc2.d/K01lighttpd
ln -s ../init.d/samba rc2.d/K01samba
ln -s ../init.d/alsa-utils rc2.d/S01alsa-utils
ln -s ../init.d/binfmt-support rc2.d/S01binfmt-support
ln -s ../init.d/dirmngr rc2.d/S01dirmngr
ln -s ../init.d/fancontrol rc2.d/S01fancontrol
ln -s ../init.d/rsyslog rc2.d/S01rsyslog
ln -s ../init.d/sudo rc2.d/S01sudo
ln -s ../init.d/timidity rc2.d/S01timidity
ln -s ../init.d/virtualbox-ose rc2.d/S01virtualbox-ose
ln -s ../init.d/openvpn rc2.d/S02openvpn
ln -s ../init.d/acct rc2.d/S03acct
ln -s ../init.d/acpid rc2.d/S03acpid
ln -s ../init.d/anacron rc2.d/S03anacron
ln -s ../init.d/atd rc2.d/S03atd
ln -s ../init.d/atop rc2.d/S03atop
ln -s ../init.d/cron rc2.d/S03cron
ln -s ../init.d/dbus rc2.d/S03dbus
ln -s ../init.d/hddtemp rc2.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc2.d/S03hotkey-setup
ln -s ../init.d/incron rc2.d/S03incron
ln -s ../init.d/lastfmsubmitd rc2.d/S03lastfmsubmitd
ln -s ../init.d/loadcpufreq rc2.d/S03loadcpufreq
ln -s ../init.d/mysql rc2.d/S03mysql
ln -s ../init.d/openbsd-inetd rc2.d/S03openbsd-inetd
ln -s ../init.d/postgresql-8.3 rc2.d/S03postgresql-8.3
ln -s ../init.d/rsync rc2.d/S03rsync
ln -s ../init.d/smartmontools rc2.d/S03smartmontools
ln -s ../init.d/sysstat rc2.d/S03sysstat
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/hal rc2.d/S04hal
ln -s ../init.d/network-manager rc2.d/S04network-manager
ln -s ../init.d/postfix rc2.d/S04postfix
ln -s ../init.d/pulseaudio rc2.d/S04pulseaudio
ln -s ../init.d/cups rc2.d/S05cups
ln -s ../init.d/gdm rc2.d/S05gdm
ln -s ../init.d/kdm rc2.d/S05kdm
ln -s ../init.d/saned rc2.d/S05saned
ln -s ../init.d/bootlogs rc2.d/S06bootlogs
ln -s ../init.d/bootchart rc2.d/S07bootchart
ln -s ../init.d/laptop-mode rc2.d/S07laptop-mode
ln -s ../init.d/rc.local rc2.d/S07rc.local
ln -s ../init.d/rmnologin rc2.d/S07rmnologin
ln -s ../init.d/stop-bootlogd rc2.d/S07stop-bootlogd
ln -s ../init.d/stop-readahead-fedora rc2.d/S07stop-readahead-fedora
ln -s ../init.d/apache2 rc3.d/K01apache2
ln -s ../init.d/lighttpd rc3.d/K01lighttpd
ln -s ../init.d/samba rc3.d/K01samba
ln -s ../init.d/alsa-utils rc3.d/S01alsa-utils
ln -s ../init.d/binfmt-support rc3.d/S01binfmt-support
ln -s ../init.d/dirmngr rc3.d/S01dirmngr
ln -s ../init.d/fancontrol rc3.d/S01fancontrol
ln -s ../init.d/rsyslog rc3.d/S01rsyslog
ln -s ../init.d/sudo rc3.d/S01sudo
ln -s ../init.d/timidity rc3.d/S01timidity
ln -s ../init.d/virtualbox-ose rc3.d/S01virtualbox-ose
ln -s ../init.d/openvpn rc3.d/S02openvpn
ln -s ../init.d/acct rc3.d/S03acct
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/atop rc3.d/S03atop
ln -s ../init.d/cron rc3.d/S03cron
ln -s ../init.d/dbus rc3.d/S03dbus
ln -s ../init.d/hddtemp rc3.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc3.d/S03hotkey-setup
ln -s ../init.d/incron rc3.d/S03incron
ln -s ../init.d/lastfmsubmitd rc3.d/S03lastfmsubmitd
ln -s ../init.d/loadcpufreq rc3.d/S03loadcpufreq
ln -s ../init.d/mysql rc3.d/S03mysql
ln -s ../init.d/openbsd-inetd rc3.d/S03openbsd-inetd
ln -s ../init.d/postgresql-8.3 rc3.d/S03postgresql-8.3
ln -s ../init.d/rsync rc3.d/S03rsync
ln -s ../init.d/smartmontools rc3.d/S03smartmontools
ln -s ../init.d/sysstat rc3.d/S03sysstat
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/hal rc3.d/S04hal
ln -s ../init.d/network-manager rc3.d/S04network-manager
ln -s ../init.d/postfix rc3.d/S04postfix
ln -s ../init.d/pulseaudio rc3.d/S04pulseaudio
ln -s ../init.d/cups rc3.d/S05cups
ln -s ../init.d/gdm rc3.d/S05gdm
ln -s ../init.d/kdm rc3.d/S05kdm
ln -s ../init.d/saned rc3.d/S05saned
ln -s ../init.d/bootlogs rc3.d/S06bootlogs
ln -s ../init.d/bootchart rc3.d/S07bootchart
ln -s ../init.d/laptop-mode rc3.d/S07laptop-mode
ln -s ../init.d/rc.local rc3.d/S07rc.local
ln -s ../init.d/rmnologin rc3.d/S07rmnologin
ln -s ../init.d/stop-bootlogd rc3.d/S07stop-bootlogd
ln -s ../init.d/stop-readahead-fedora rc3.d/S07stop-readahead-fedora
ln -s ../init.d/apache2 rc4.d/K01apache2
ln -s ../init.d/lighttpd rc4.d/K01lighttpd
ln -s ../init.d/samba rc4.d/K01samba
ln -s ../init.d/alsa-utils rc4.d/S01alsa-utils
ln -s ../init.d/binfmt-support rc4.d/S01binfmt-support
ln -s ../init.d/dirmngr rc4.d/S01dirmngr
ln -s ../init.d/fancontrol rc4.d/S01fancontrol
ln -s ../init.d/rsyslog rc4.d/S01rsyslog
ln -s ../init.d/sudo rc4.d/S01sudo
ln -s ../init.d/timidity rc4.d/S01timidity
ln -s ../init.d/virtualbox-ose rc4.d/S01virtualbox-ose
ln -s ../init.d/openvpn rc4.d/S02openvpn
ln -s ../init.d/acct rc4.d/S03acct
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/atop rc4.d/S03atop
ln -s ../init.d/cron rc4.d/S03cron
ln -s ../init.d/dbus rc4.d/S03dbus
ln -s ../init.d/hddtemp rc4.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc4.d/S03hotkey-setup
ln -s ../init.d/incron rc4.d/S03incron
ln -s ../init.d/lastfmsubmitd rc4.d/S03lastfmsubmitd
ln -s ../init.d/loadcpufreq rc4.d/S03loadcpufreq
ln -s ../init.d/mysql rc4.d/S03mysql
ln -s ../init.d/openbsd-inetd rc4.d/S03openbsd-inetd
ln -s ../init.d/postgresql-8.3 rc4.d/S03postgresql-8.3
ln -s ../init.d/rsync rc4.d/S03rsync
ln -s ../init.d/smartmontools rc4.d/S03smartmontools
ln -s ../init.d/sysstat rc4.d/S03sysstat
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/hal rc4.d/S04hal
ln -s ../init.d/network-manager rc4.d/S04network-manager
ln -s ../init.d/postfix rc4.d/S04postfix
ln -s ../init.d/pulseaudio rc4.d/S04pulseaudio
ln -s ../init.d/cups rc4.d/S05cups
ln -s ../init.d/gdm rc4.d/S05gdm
ln -s ../init.d/kdm rc4.d/S05kdm
ln -s ../init.d/saned rc4.d/S05saned
ln -s ../init.d/bootlogs rc4.d/S06bootlogs
ln -s ../init.d/bootchart rc4.d/S07bootchart
ln -s ../init.d/laptop-mode rc4.d/S07laptop-mode
ln -s ../init.d/rc.local rc4.d/S07rc.local
ln -s ../init.d/rmnologin rc4.d/S07rmnologin
ln -s ../init.d/stop-bootlogd rc4.d/S07stop-bootlogd
ln -s ../init.d/stop-readahead-fedora rc4.d/S07stop-readahead-fedora
ln -s ../init.d/apache2 rc5.d/K01apache2
ln -s ../init.d/lighttpd rc5.d/K01lighttpd
ln -s ../init.d/samba rc5.d/K01samba
ln -s ../init.d/alsa-utils rc5.d/S01alsa-utils
ln -s ../init.d/binfmt-support rc5.d/S01binfmt-support
ln -s ../init.d/dirmngr rc5.d/S01dirmngr
ln -s ../init.d/fancontrol rc5.d/S01fancontrol
ln -s ../init.d/rsyslog rc5.d/S01rsyslog
ln -s ../init.d/sudo rc5.d/S01sudo
ln -s ../init.d/timidity rc5.d/S01timidity
ln -s ../init.d/virtualbox-ose rc5.d/S01virtualbox-ose
ln -s ../init.d/openvpn rc5.d/S02openvpn
ln -s ../init.d/acct rc5.d/S03acct
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/atop rc5.d/S03atop
ln -s ../init.d/cron rc5.d/S03cron
ln -s ../init.d/dbus rc5.d/S03dbus
ln -s ../init.d/hddtemp rc5.d/S03hddtemp
ln -s ../init.d/hotkey-setup rc5.d/S03hotkey-setup
ln -s ../init.d/incron rc5.d/S03incron
ln -s ../init.d/lastfmsubmitd rc5.d/S03lastfmsubmitd
ln -s ../init.d/loadcpufreq rc5.d/S03loadcpufreq
ln -s ../init.d/mysql rc5.d/S03mysql
ln -s ../init.d/openbsd-inetd rc5.d/S03openbsd-inetd
ln -s ../init.d/postgresql-8.3 rc5.d/S03postgresql-8.3
ln -s ../init.d/rsync rc5.d/S03rsync
ln -s ../init.d/smartmontools rc5.d/S03smartmontools
ln -s ../init.d/sysstat rc5.d/S03sysstat
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/hal rc5.d/S04hal
ln -s ../init.d/network-manager rc5.d/S04network-manager
ln -s ../init.d/postfix rc5.d/S04postfix
ln -s ../init.d/pulseaudio rc5.d/S04pulseaudio
ln -s ../init.d/cups rc5.d/S05cups
ln -s ../init.d/gdm rc5.d/S05gdm
ln -s ../init.d/kdm rc5.d/S05kdm
ln -s ../init.d/saned rc5.d/S05saned
ln -s ../init.d/bootlogs rc5.d/S06bootlogs
ln -s ../init.d/bootchart rc5.d/S07bootchart
ln -s ../init.d/laptop-mode rc5.d/S07laptop-mode
ln -s ../init.d/rc.local rc5.d/S07rc.local
ln -s ../init.d/rmnologin rc5.d/S07rmnologin
ln -s ../init.d/stop-bootlogd rc5.d/S07stop-bootlogd
ln -s ../init.d/stop-readahead-fedora rc5.d/S07stop-readahead-fedora
ln -s ../init.d/acct rc6.d/K01acct
ln -s ../init.d/alsa-utils rc6.d/K01alsa-utils
ln -s ../init.d/anacron rc6.d/K01anacron
ln -s ../init.d/apache2 rc6.d/K01apache2
ln -s ../init.d/atd rc6.d/K01atd
ln -s ../init.d/atop rc6.d/K01atop
ln -s ../init.d/bluetooth rc6.d/K01bluetooth
ln -s ../init.d/cron rc6.d/K01cron
ln -s ../init.d/dirmngr rc6.d/K01dirmngr
ln -s ../init.d/gdm rc6.d/K01gdm
ln -s ../init.d/hddtemp rc6.d/K01hddtemp
ln -s ../init.d/kdm rc6.d/K01kdm
ln -s ../init.d/laptop-mode rc6.d/K01laptop-mode
ln -s ../init.d/lastfmsubmitd rc6.d/K01lastfmsubmitd
ln -s ../init.d/lighttpd rc6.d/K01lighttpd
ln -s ../init.d/network-manager rc6.d/K01network-manager
ln -s ../init.d/openbsd-inetd rc6.d/K01openbsd-inetd
ln -s ../init.d/openvpn rc6.d/K01openvpn
ln -s ../init.d/postfix rc6.d/K01postfix
ln -s ../init.d/postgresql-8.3 rc6.d/K01postgresql-8.3
ln -s ../init.d/samba rc6.d/K01samba
ln -s ../init.d/saned rc6.d/K01saned
ln -s ../init.d/smartmontools rc6.d/K01smartmontools
ln -s ../init.d/stop-readahead-fedora rc6.d/K01stop-readahead-fedora
ln -s ../init.d/timidity rc6.d/K01timidity
ln -s ../init.d/urandom rc6.d/K01urandom
ln -s ../init.d/virtualbox-ose rc6.d/K01virtualbox-ose
ln -s ../init.d/avahi-daemon rc6.d/K02avahi-daemon
ln -s ../init.d/mysql rc6.d/K02mysql
ln -s ../init.d/sendsigs rc6.d/K03sendsigs
ln -s ../init.d/rsyslog rc6.d/K04rsyslog
ln -s ../init.d/hwclock.sh rc6.d/K05hwclock.sh
ln -s ../init.d/umountnfs.sh rc6.d/K05umountnfs.sh
ln -s ../init.d/networking rc6.d/K06networking
ln -s ../init.d/ifupdown rc6.d/K07ifupdown
ln -s ../init.d/umountfs rc6.d/K08umountfs
ln -s ../init.d/umountroot rc6.d/K09umountroot
ln -s ../init.d/reboot rc6.d/K10reboot
ln -s ../init.d/mountkernfs.sh rcS.d/S01mountkernfs.sh
ln -s ../init.d/early-readahead rcS.d/S02early-readahead
ln -s ../init.d/udev rcS.d/S03udev
ln -s ../init.d/mountdevsubfs.sh rcS.d/S04mountdevsubfs.sh
ln -s ../init.d/bootlogd rcS.d/S05bootlogd
ln -s ../init.d/keymap.sh rcS.d/S06keymap.sh
ln -s ../init.d/keyboard-setup rcS.d/S07keyboard-setup
ln -s ../init.d/hdparm rcS.d/S08hdparm
ln -s ../init.d/hostname.sh rcS.d/S08hostname.sh
ln -s ../init.d/hwclockfirst.sh rcS.d/S08hwclockfirst.sh
ln -s ../init.d/pcmciautils rcS.d/S08pcmciautils
ln -s ../init.d/checkroot.sh rcS.d/S09checkroot.sh
ln -s ../init.d/hwclock.sh rcS.d/S10hwclock.sh
ln -s ../init.d/ifupdown-clean rcS.d/S10ifupdown-clean
ln -s ../init.d/module-init-tools rcS.d/S10module-init-tools
ln -s ../init.d/mtab.sh rcS.d/S10mtab.sh
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/networking rcS.d/S15networking
ln -s ../init.d/policykit rcS.d/S15policykit
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/x11-common rcS.d/S15x11-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/bootmisc.sh rcS.d/S20bootmisc.sh
ln -s ../init.d/later-readahead rcS.d/S20later-readahead
ln -s ../init.d/lm-sensors rcS.d/S20lm-sensors
ln -s ../init.d/schroot rcS.d/S20schroot
ln -s ../init.d/screen-cleanup rcS.d/S20screen-cleanup
ln -s ../init.d/urandom rcS.d/S20urandom
ln -s ../init.d/stop-bootlogd-single rcS.d/S21stop-bootlogd-single

list_rclinks


More information about the Pkg-sysvinit-devel mailing list