[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: update-rc.d <script> disable|reenable



Kel Modderman wrote:
> Hi all,
> 
> This email describes an extension of update-rc.d to provide an interface
> for disabling and reenabling initscript sysvinit runlevel start links.
> 

Hi again,

thinking more about it, I think a function "is-enabled" would be quite
handy.
This would allow to query the init system in a defined way, if a given
service is enabled or disabled.

Another idea would be, to define a new update-rc.d function called
"status", which would return either "running, not running or disabled".
There were some efforts recently, to add a status action to the init
scripts, which would be a prerequiste of such a new interface to work
properly.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: