X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=distrib%2Fgentoo%2Finit-vserver.sh;h=856af51d6b79cdb7dd49ebaa9b39b8036e005bcd;hb=95e2774070e989fe9cf9f48dae5fa054e55e2a3e;hp=12fcda95eabb90231e21edce86d6b23e0f74d97c;hpb=3b34449070c0846fdc49436d1edd5916512f1644;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