]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix initial run level
authorDenis Rizaev <Denis.Rizaev@trueoffice.ru>
Mon, 24 May 2010 13:06:36 +0000 (15:06 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 24 May 2010 13:06:36 +0000 (15:06 +0200)
commit8ff3518040fdd6935e7829f3fb8415c9cf191792
tree66d3c25c8ca8b6729a4ae919f271733fbf2976f8
parentfa9ab20562649707d44bfff90df44b7bc1a9f8b3
fix initial run level

I did a little investigation about runlevels and i think we can assume
runlevels 2-5 as normal. So, we can check if system was in runlevel 2-5
and proc count is 1 and now we are in 0/6.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Denis Rizaev <Denis.Rizaev@trueoffice.ru>
src/lxc/utmp.c