Please help me make athcool compatible with dependency-based init systems

Nicolas Boullis nboullis at debian.org
Wed Jul 23 19:52:42 UTC 2008


Hi Kel,

On Wed, Jul 23, 2008 at 11:55:04PM +1000, Kel Modderman wrote:
> Hi Nicolas,
> 
> Just add the LSB header with correct information like:
> 
> ### BEGIN INIT INFO
> # Provides:          athcool
> # Required-Start:    $remote_fs
> # Required-Stop:     $remote_fs
> # Default-Start:     2 3 4 5
> # Default-Stop:
> # Description:       enable powersaving mode for Athlon/Duron processors
> ### END INIT INFO
> 
> Your package does not call update-rc.d in postinst, courtesy of
> "dh_installinit -n", therefore no links get created even on insserv system.
> 
> There is no need to modify README.Debian instructions, as insserv package
> provides an update-rc.d wrapper. When the admin follows the existing
> instructions of "update-rc.d athcool start 20 2 3 4 5 ." you will get runlevel
> links, just that the sequence number 20 is ignored and a more precise sequence
> number is calculated by insserv.

Thanks for your answer.
Sorry for asking a potentially stupid question, but how does the 
"Default-Start" keyword affect the bahvior of the system?


Cheers,

Nicolas



More information about the initscripts-ng-devel mailing list