script/init.d/ethercat.in
changeset 1800 5bfbb7be5400
parent 1790 c4e3ee5632b2
child 1804 742607c464c4
--- a/script/init.d/ethercat.in	Thu Jan 21 11:10:22 2010 +0100
+++ b/script/init.d/ethercat.in	Sun Jan 31 14:50:37 2010 +0100
@@ -49,6 +49,7 @@
 RMMOD=/sbin/rmmod
 MODINFO=/sbin/modinfo
 ETHERCAT=@prefix@/bin/ethercat
+MASTER_ARGS=
 
 #------------------------------------------------------------------------------
 
@@ -162,7 +163,7 @@
     done
 
     # load master module
-    if ! ${MODPROBE} ${MODPROBE_FLAGS} ec_master \
+    if ! ${MODPROBE} ${MODPROBE_FLAGS} ec_master ${MASTER_ARGS} \
             main_devices=${DEVICES} backup_devices=${BACKUPS}; then
         exit_fail
     fi