git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2543
94cd875c-1c1d-0410-91d2-
eb244daf1a30
# Force TERM=linux for baselayout-2
-export TERM=linux
RUNLEVEL=1 /sbin/rc sysinit || exit 1
/sbin/rc boot || exit 1
/sbin/rc ${1:-default}
(xgentoo)
test -n "$RUNLEVEL_START" || RUNLEVEL_START="default"
- INITCMD_START=( /lib/rcscripts/sh/init-vserver.sh "$RUNLEVEL_START" )
- INITCMD_STOP=( env -i RUNLEVEL=0 /sbin/rc shutdown )
+ INITCMD_START=( env TERM=$TERM /lib/rcscripts/sh/init-vserver.sh "$RUNLEVEL_START" )
+ INITCMD_STOP=( env -i TERM=$TERM RUNLEVEL=0 /sbin/rc shutdown )
INITCMD_PREPARE=( $_FAKE_RUNLEVEL 3 /var/run/utmp )
;;