[Pkg-sysvinit-devel] Bug#268713: Fix usage information in update-rc.d

Petter Reinholdtsen pere at hungry.com
Sun Dec 23 09:22:20 UTC 2007


merge 268713 444261
tags 268713 + pending
thanks

After reading the commends and patches in BTS reports 268713, 288098
and 444261 (which are all the same issue), I have concluded that the
best approach is to make sure the manual package and the usage output
from update-rc.d is identical, and that the solution used in the
manual page (using SS and KK to mark the start and stop numbers) are
good solutions.  I've commited this fix to svn to solve this issue.

Index: debian/sysv-rc/sbin/update-rc.d
===================================================================
--- debian/sysv-rc/sbin/update-rc.d     (revision 1079)
+++ debian/sysv-rc/sbin/update-rc.d     (working copy)
@@ -21,7 +21,7 @@
        print STDERR "update-rc.d: error: @_\n" if ($#_ >= 0);
        print STDERR <<EOF;
 usage: update-rc.d [-n] [-f] <basename> remove
-       update-rc.d [-n] <basename> defaults [NN | sNN kNN]
+       update-rc.d [-n] <basename> defaults [NN | SS KK]
        update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force





More information about the Pkg-sysvinit-devel mailing list