[DRBD-cvs] scripts by phil; Suggestion by Bernd Schubert, to make it...
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Wed, 30 Jun 2004 17:48:14 +0200 (CEST)
DRBD CVS committal
Author : phil
Project : drbd
Module : scripts
Dir : drbd/scripts
Modified Files:
Tag: rel-0_7-branch
drbd
Log Message:
Suggestion by Bernd Schubert, to make it compatible with udev.
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/scripts/drbd,v
retrieving revision 1.27.2.7
retrieving revision 1.27.2.8
diff -u -3 -r1.27.2.7 -r1.27.2.8
--- drbd 24 May 2004 11:39:45 -0000 1.27.2.7
+++ drbd 30 Jun 2004 15:48:09 -0000 1.27.2.8
@@ -28,6 +28,7 @@
$MODPROBE -s drbd `$DRBDADM sh-mod-parms` || {
echo "Can not load the drbd module."$'\n'; exit 20
}
+ sleep 1 # make sure udev has time to create the device files
}
case "$1" in