git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backing out to version 208 of util-vserver
[util-vserver.git]
/
scripts
/
vserver.stop
diff --git
a/scripts/vserver.stop
b/scripts/vserver.stop
index
7d1c01f
..
f1ac335
100644
(file)
--- a/
scripts/vserver.stop
+++ b/
scripts/vserver.stop
@@
-1,4
+1,4
@@
-# $Id: vserver.stop
2312 2006-09-15 04:32:28Z dhozac
$ --*- sh -*--
+# $Id: vserver.stop
,v 1.29 2005/06/30 06:17:58 ensc Exp
$ --*- sh -*--
# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
#
# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
#
@@
-84,9
+84,7
@@
else
"${INITCMD_STOP[@]}" || fail=1
fi
"${INITCMD_STOP[@]}" || fail=1
fi
-vshelper.doStopSync
-
-waitForSync "$VSERVER_DIR" "$sync_fifo" "$vwait_statdir"
+test -n "$fail" || waitForSync "$VSERVER_DIR" "$sync_fifo" "$vwait_statdir"
vshelper.doDestroy "$VSERVER_DIR" "$S_CONTEXT"
sendKillSequence "$S_CONTEXT" "${INITKILL_SEQ[@]}"
vshelper.doDestroy "$VSERVER_DIR" "$S_CONTEXT"
sendKillSequence "$S_CONTEXT" "${INITKILL_SEQ[@]}"
@@
-100,7
+98,4
@@
execScriptlets "$VSERVER_DIR" "$VSERVER_NAME" post-stop
umountVserver "$VSERVER_DIR" || :
disableInterfaces "$VSERVER_DIR"
umountVserver "$VSERVER_DIR" || :
disableInterfaces "$VSERVER_DIR"
-saveDiskLimits "$VSERVER_DIR"
-
execScriptlets "$VSERVER_DIR" "$VSERVER_NAME" postpost-stop
execScriptlets "$VSERVER_DIR" "$VSERVER_NAME" postpost-stop
-removeCPUSET "$VSERVER_DIR"