projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
04ef511
)
fake init environment during shutdown, otherwise rc just calls shutdown/halt which...
author
Benedikt Boehm
<hollow@gentoo.org>
Fri, 27 Apr 2007 09:08:43 +0000 (09:08 +0000)
committer
Benedikt Boehm
<hollow@gentoo.org>
Fri, 27 Apr 2007 09:08:43 +0000 (09:08 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2538
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/vserver.functions
patch
|
blob
|
history
diff --git
a/scripts/vserver.functions
b/scripts/vserver.functions
index
c1751e8
..
b51c507
100644
(file)
--- a/
scripts/vserver.functions
+++ b/
scripts/vserver.functions
@@
-304,7
+304,7
@@
function _generateInitOptions
test -n "$RUNLEVEL_START" || RUNLEVEL_START="default"
INITCMD_START=( /lib/rcscripts/sh/init-vserver.sh "$RUNLEVEL_START" )
- INITCMD_STOP=( /sbin/rc shutdown )
+ INITCMD_STOP=( env -i RUNLEVEL=0 /sbin/rc shutdown )
INITCMD_PREPARE=( $_FAKE_RUNLEVEL 3 /var/run/utmp )
;;