- 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
-#! /bin/bash
-# $Id$
+# $Id$ --*- sh -*--
# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
#
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