Comment 4 for bug 515871

Revision history for this message
Bart Samwel (bart-samwel) wrote : Re: [Bug 515871] [NEW] support unmounting wifi modules to reduce wattage

On Tue, Feb 2, 2010 at 08:20, Ritesh Raj Sarraf <email address hidden> wrote:

> I think what we need here is a new module, something like exec_cmd.
>
> It definitely will not be a start/stop kind of thing.
>

Perhaps the start-stop-programs module can be extended to support in-line
commands to be executed on state changes, in addition to the service
start/stop support that is already there? I must say that the service
starting/stopping support is a bit complicated to configure, it's well
suited for starting/stopping services that have an init script, but not easy
to configure for much else...

Cheers,
Bart