From 8c431d7d1ca26658e7dca0da7e0c3757432fd8c0 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 17 Oct 2003 21:03:26 +0000 Subject: [PATCH] - 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 --- util-vserver/scripts/vserver.stop | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.8.1.5