[Pkg-sysvinit-devel] Bug#268713: update-rc.d: Unhelpful -h text remains

Paul TBBle Hampson Paul.Hampson at Pobox.com
Mon Jan 1 04:54:27 CET 2007


reopen 268713 !
Thankyou Mr Bug Control Robot

The "sNN kNN" syntax still appears in the -h output of update-rc.d,
even though the manpage was updated as per the diff posted to this
bug.

I've just come across a wiki entry that had "s99 k04" in the
update-rc.d invocation instructions, and when that failed I
stared at the -h output for a fair few minutes before trying it
without the s and k.

So I feel it is still misleading.

Maybe rather than changing the -h output, make the code accept the s and
k? This could be as simple as adding the following two lines at line 155
of update-rc.d:

	$start =~ s/^s//;
	$stop =~ s/^[sk]//;

(Not tested, mind you. But it looks right to me.)

-- 
Paul "TBBle" Hampson, Paul.Hampson at Pobox.com

Shorter .sig for a more eco-friendly paperless office.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20070101/f9003e53/attachment.pgp


More information about the Pkg-sysvinit-devel mailing list