diff --git a/script/ethercat.sh b/script/ethercat.sh index 89468c5c23b2737da885f49348ba7f72cc3dfca6..51c63e84c345d58f04b5a9d4b4a03e36079d0d0c 100755 --- a/script/ethercat.sh +++ b/script/ethercat.sh @@ -196,6 +196,8 @@ case "$1" in fi; done + sleep 1 + # reload previous modules if ! modprobe 8139too; then echo "Warning: Failed to restore 8139too module." @@ -206,6 +208,9 @@ case "$1" in restart) $0 stop || exit 1 + + sleep 1 + $0 start rc_status