git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2548
94cd875c-1c1d-0410-91d2-
eb244daf1a30
INITCMD_STOP=( "$i" "$RUNLEVEL_STOP" )
done
INITCMD_PREPARE=( $_FAKE_RUNLEVEL "$RUNLEVEL_START" /var/run/utmp )
+ OPTS_ENV=( "${OPTS_ENV[@]}" PREVLEVEL=N RUNLEVEL="$RUNLEVEL_START" )
;;
(xplain)
pushd "$1/vdir" >/dev/null
case "$INITSTYLE" in
(sysv)
- export PREVLEVEL=$RUNLEVEL_START # required by Debian's initscripts
+ export PREVLEVEL=$RUNLEVEL_START RUNLEVEL=$RUNLEVEL_STOP # required by Debian's initscripts
;;
esac
"${STOPCMD_PREPARE[@]}"