X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=distrib%2Fgentoo%2Finit-vserver.sh;h=856af51d6b79cdb7dd49ebaa9b39b8036e005bcd;hb=54edc50b584ade4f323c16bec6ef6320f129e531;hp=12fcda95eabb90231e21edce86d6b23e0f74d97c;hpb=3597c75084e7f41d64bc251e20ef5d33bb09ea06;p=util-vserver.git diff --git a/distrib/gentoo/init-vserver.sh b/distrib/gentoo/init-vserver.sh index 12fcda9..856af51 100644 --- 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