Sleep times in startup script.
authorFlorian Pose <fp@igh-essen.com>
Tue, 18 Jul 2006 16:09:05 +0000
changeset 299 911f0aed65a9
parent 298 d491d1f84ebc
child 300 9cb024c1d080
Sleep times in startup script.
script/ethercat.sh
--- a/script/ethercat.sh	Mon Jul 17 13:01:38 2006 +0000
+++ b/script/ethercat.sh	Tue Jul 18 16:09:05 2006 +0000
@@ -196,6 +196,8 @@
 		fi;
 	done
 
+	sleep 1
+
 	# reload previous modules
 	if ! modprobe 8139too; then
 	    echo "Warning: Failed to restore 8139too module."
@@ -206,6 +208,9 @@
 
     restart)
 	$0 stop || exit 1
+
+	sleep 1
+
 	$0 start
 
 	rc_status