From: Enrico Scholz Date: Fri, 17 Oct 2003 21:03:26 +0000 (+0000) Subject: - removed '#! /bin/bash' header X-Git-Tag: VERSION_0_10~1206 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c431d7d1ca26658e7dca0da7e0c3757432fd8c0;p=util-vserver.git - removed '#! /bin/bash' header - disable interfaces when vserver is not running git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@204 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver.stop b/util-vserver/scripts/vserver.stop index 385ad96..347d2d4 100644 --- a/util-vserver/scripts/vserver.stop +++ b/util-vserver/scripts/vserver.stop @@ -1,5 +1,4 @@ -#! /bin/bash -# $Id$ +# $Id$ --*- sh -*-- # Copyright (C) 2003 Enrico Scholz # @@ -18,7 +17,8 @@ if ! isVserverRunning "$VSERVER_DIR" S_CONTEXT; then echo $"vserver '$VSERVER_NAME' is not running; aborting..." - umountVserver "$VSERVER_DIR" &>/dev/null || : + umountVserver "$VSERVER_DIR" &>/dev/null || : + disableInterfaces "$VSERVER_DIR" &>/dev/null || : exit 1 fi