This looks like basically the right approach to me, grab the RUNLEVEL
environment variable, otherwise look in utmp.
It'd be nice to make that a bit more generic, I think runlevel and
telinit need the same code for things?
** Changed in: upstart/trunk
Importance: Undecided => Medium
** Changed in: upstart/trunk
Status: New => Confirmed
** Changed in: upstart/trunk
Status: Confirmed => Triaged
** Changed in: upstart/0.5
Status: Confirmed => Triaged
** Changed in: upstart/0.3
Status: Confirmed => Triaged
** Changed in: upstart/0.3
Milestone: None => 0.3.11
--
halt on shutdown should imply --force
https://bugs.launchpad.net/bugs/388738
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs