init script fails if NO_START="yes"
Bug #277393 reported by
Brian Murray
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediatomb (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
Binary package hint: mediatomb
If NO_START="yes" is set in /etc/default/
I noticed this on Hardy Heron using mediatomb package version:
0.11.0-1ubuntu1
Changed in mediatomb: | |
importance: | Undecided → Low |
To post a comment you must log in.
Now that mediatomb uses upstart, the problem is that NO_START is not used anymore... I had to change the /etc/init/mediatomb file so the NO_START value is checked just after sourcing the /etc/default/ mediatomb file:
...
script
[ -r $DEFAULT ] && . $DEFAULT
[ $NO_START = yes ] && exit 0
...