Package: sysv-rc Version: 2.88dsf-13 Severity: normal The EXAMPLES section of update-rc.d.8 recommends this method to disable a service:
,---- | Example of disabling a service: | update-rc.d -f foobar remove | update-rc.d foobar stop 20 2 3 4 5 . `---- This does not work in a dependency based boot system, because update-rc.d ignores the arguments in last line and uses the values from the LSB headers instead. Here is a patch for that: --8<---------------cut here---------------start------------->8--- --- update-rc.d.8 (revision 1950) +++ update-rc.d.8 (working copy) @@ -284,8 +284,7 @@ .fi Example of disabling a service: .nf -.B " update\-rc.d \-f foobar remove" -.B " update\-rc.d foobar stop 20 2 3 4 5 ." +.B " update\-rc.d foobar disable" .fi Example of a command for installing a system initialization\-and\-shutdown script: .nf --8<---------------cut here---------------end--------------->8--- -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 2.6.37-rc5-nouveau+ (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.37 Debian configuration management sy ii insserv 1.14.0-2 Tool to organize boot sequence usi ii sysvinit-utils 2.88dsf-13 System-V-like utilities Versions of packages sysv-rc recommends: ii lsb-base 3.2-26 Linux Standard Base 3.2 init scrip Versions of packages sysv-rc suggests: pn bum <none> (no description available) ii sysv-rc-conf 0.99-6 SysV init runlevel configuration t -- debconf information: sysv-rc/unable-to-convert: sysv-rc/convert-legacy: true _______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

