[prev in list] [next in list] [prev in thread] [next in thread]
List: drbd-cvs
Subject: [DRBD-cvs] scripts by lars; adding the panic patch, which was floati...
From: drbd-cvs () linbit ! com
Date: 2004-04-28 7:57:20
Message-ID: 20040428075720.3B4F715DF60 () garcon ! linbit ! com
[Download RAW message or body]
DRBD CVS committal
Author : lars
Project : drbd
Module : scripts
Dir : drbd/scripts
Modified Files:
drbd
Log Message:
adding the panic patch, which was floating around since ages :)
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/scripts/drbd,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- drbd 6 Apr 2004 18:52:04 -0000 1.56
+++ drbd 28 Apr 2004 07:57:15 -0000 1.57
@@ -62,7 +62,7 @@
#
# shouldn't there be more descriptive comments? ;)
#
-CVSID='$Id: drbd,v 1.56 2004/04/06 18:52:04 lars Exp $'
+CVSID='$Id: drbd,v 1.57 2004/04/28 07:57:15 lars Exp $'
CONTACT='Lars Ellenberg <l.g.e@web.de>, drbd-user@lists.linbit.com'
##################################################}}}1
@@ -2084,6 +2084,9 @@
if mymatch "$COMMAND" "@(start|stop|restart|reconnect)" ; then
needs_to_be_root
fi
+
+test "$link" = drbd -a "$COMMAND" = stop -a ! -e "$PROC_DRBD" &&
+ echo "$link stop: nothing to do" && exit 0
#
# read pre-parsed config, or if this seems inconsistent,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic