projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix TERM for colored output
[util-vserver.git]
/
distrib
/
gentoo
/
init-vserver.sh
diff --git
a/distrib/gentoo/init-vserver.sh
b/distrib/gentoo/init-vserver.sh
index
12fcda9
..
856af51
100644
(file)
--- a/
distrib/gentoo/init-vserver.sh
+++ b/
distrib/gentoo/init-vserver.sh
@@
-22,8
+22,10
@@
# Your vserver will not boot anymore!
#
# You have been warned...
-#
-RUNLEVEL=1 /sbin/rc sysinit
-/sbin/rc boot
+# Force TERM=linux for baselayout-2
+
+RUNLEVEL=1 /sbin/rc sysinit || exit 1
+/sbin/rc boot || exit 1
/sbin/rc ${1:-default}
+exit 0