X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvserver.stop;h=347d2d4496f2ce4e101515c4e8af2eae5308d1e6;hb=54dca8e1902c0329b2a070098ea93b001a22cc5b;hp=385ad96629c5d5722d449dfcd1033dce4fa797d4;hpb=56acaf91abe4f0ceba2de190812edb134e749ee0;p=util-vserver.git 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