init: allow multiple 'on' statements
Bug #493094 reported by
ensc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
It would be nice when multiple 'start on' statements which specify alternative start reasons are possible (again). E.g.
start on A
start on B
would have a semantic of
start on (A) or (B)
Although this wish does not add something new and can be reached by existing mechanism already, multiple statements are much easier to configure. It will be possible e.g. by simple 'sed' one-liner to specify additional start conditions or remove such ones. Currently, a complex parser (which might have to go across multiple lines) and complex substitution rules are required to change startup conditions.
To post a comment you must log in.
The plan is to support multiple 'while' statements, where each one is joined by AND - and multiple 'on' statements, where each one is joined by OR.
while filesystem
while gdm
on control-alt-delete
on lid-closed
Type thing