Thanks for the bug fixed. However, the code in the 
http://bazaar.launchpad.net/~scott/upstart/0.6/revision/1206 will _REPLACE_ the 
DEFAULT_RUNLEVEL even if /etc/inittab is something like:
#id:3:initdefault:
i.e. a commented line beginning with "#".
Maybe it's better to make it like:
eval "$(sed -nre 
's/^[^#][^:]+:([0-6sS]):initdefault:.*/DEFAULT_RUNLEVEL="\1";/p' inittab || 
true)"

I believe you have better way to write it.
My 2 cents.

-- 
conf: DEFAULT_RUNLEVEL should not be assigned if nothing found from /etc/inittab
https://bugs.launchpad.net/bugs/405847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to