hiho,
here's a small patch for 'drbd_common'.
the script didn't found 'drbdsetup', although it exists in the path.
ciao -ap
Index: drbd/scripts/drbd_common
===================================================================
RCS file: /cvshome/drbd/drbd/scripts/drbd_common,v
retrieving revision 1.7
diff -u -r1.7 drbd_common
--- drbd/scripts/drbd_common 2000/12/19 09:47:01 1.7
+++ drbd/scripts/drbd_common 2001/01/24 15:09:55
@@ -288,7 +288,7 @@
{
for NAME in $*
do
- if ! `which $NAME 2>/dev/null` ; then
+ if [ ! `which $NAME 2>/dev/null` ]; then
failed "$0 needs the command '$NAME'"
exit 1
fi
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andreas Piesk fon: +49-341-979 7424
Virbus AG fax: +49-341-979 7409
Löhrstr. 16 mail: apiesk@example.com
04105 Leipzig http: www.virbus.de
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
here's a small patch for 'drbd_common'.
the script didn't found 'drbdsetup', although it exists in the path.
ciao -ap
Index: drbd/scripts/drbd_common
===================================================================
RCS file: /cvshome/drbd/drbd/scripts/drbd_common,v
retrieving revision 1.7
diff -u -r1.7 drbd_common
--- drbd/scripts/drbd_common 2000/12/19 09:47:01 1.7
+++ drbd/scripts/drbd_common 2001/01/24 15:09:55
@@ -288,7 +288,7 @@
{
for NAME in $*
do
- if ! `which $NAME 2>/dev/null` ; then
+ if [ ! `which $NAME 2>/dev/null` ]; then
failed "$0 needs the command '$NAME'"
exit 1
fi
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andreas Piesk fon: +49-341-979 7424
Virbus AG fax: +49-341-979 7409
Löhrstr. 16 mail: apiesk@example.com
04105 Leipzig http: www.virbus.de
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=