[Pkg-sysvinit-devel] Bug#581766: update-rc.d: seems to give incorrect warnings

Petter Reinholdtsen pere at hungry.com
Sat May 15 17:37:18 UTC 2010


[Christoph Anton Mitterer]
> Is this a bug?

Nope.  The problem reported is an inconsistency between the arguments
used to update-rc.d (defaults), and the header in the init.d scripts.

If you call it like this, you avoid the warning:

% grep update-rc /var/lib/dpkg/info/cpufrequtils.postinst
        update-rc.d loadcpufreq start 05 2 3 4 5 . >/dev/null || exit $?
        update-rc.d cpufrequtils start 19 2 3 4 5 . >/dev/null
%

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list