From edeb68d5fef9de69d2f7db99b9fcfafe5b7af285 Mon Sep 17 00:00:00 2001 From: Steve Muir Date: Wed, 15 Jun 2005 21:39:57 +0000 Subject: [PATCH] Don't bother trying to gracefully shutdown vservers --- sysv/vservers.subst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysv/vservers.subst b/sysv/vservers.subst index f5bd28a..5707543 100755 --- a/sysv/vservers.subst +++ b/sysv/vservers.subst @@ -32,7 +32,9 @@ case "$1" in echo "Stopping the virtual servers" cd /etc/vservers for name in ${*:-`sortserver -r`} ; do - $USR_SBIN/vserver $name stop + chcontext --ctx `id -u $name` /usr/lib/util-vserver/vserverkillall + umount $VROOTDIR/$name/proc + umount $VROOTDIR/$name/dev/pts done rm -f /var/lock/subsys/vservers ;; -- 2.47.0