Torsten Kurbad
4b2835d3c7
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@8414 cbe59ace-07ea-0310-918e-868702b5370d
17 lines
648 B
Diff
17 lines
648 B
Diff
Index: scripts/vserver.functions
|
|
===================================================================
|
|
--- scripts/vserver.functions (revision 2626)
|
|
+++ scripts/vserver.functions (revision 2634)
|
|
@@ -315,9 +315,10 @@
|
|
|
|
(xgentoo)
|
|
test -n "$RUNLEVEL_START" || RUNLEVEL_START="default"
|
|
+ RC_PATH=/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
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_STOP=( env -i PATH=$RC_PATH TERM=$TERM RUNLEVEL=0 /sbin/rc shutdown )
|
|
INITCMD_PREPARE=( $_FAKE_RUNLEVEL 3 /var/run/utmp )
|
|
;;
|
|
|