« Return to Thread: Please help me make athcool compatible with dependency-based init systems (was: Release Update: freeze, architecture requalification)

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

by Nicolas Boullis :: Rate this Message:

Reply to Author | View in Thread

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


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

 « Return to Thread: Please help me make athcool compatible with dependency-based init systems (was: Release Update: freeze, architecture requalification)

LightInTheBox - Buy quality products at wholesale price!