Add support for the various new APIs in 2.2 and 2.3, in particular, netv2.
[util-vserver.git] / distrib / gentoo / init-vserver.sh
index 2fb60b3..856af51 100644 (file)
 # Your vserver will not boot anymore!
 #
 # You have been warned...
-#
 
-RUNLEVEL=1 /sbin/rc sysinit
-/sbin/rc boot
-/sbin/rc default
+# Force TERM=linux for baselayout-2
+
+RUNLEVEL=1 /sbin/rc sysinit || exit 1
+/sbin/rc boot || exit 1
+/sbin/rc ${1:-default}
+exit 0