# HG changeset patch # User Florian Pose # Date 1264497359 -3600 # Node ID c4e3ee5632b260cfb60e94e422522881f61e4e26 # Parent 058248c47ba02e6c2d6fd55fa88b3cc18050d618 Added variable vor master module arguments. diff -r 058248c47ba0 -r c4e3ee5632b2 script/init.d/ethercat.in --- a/script/init.d/ethercat.in Mon Jan 25 18:32:45 2010 +0100 +++ b/script/init.d/ethercat.in Tue Jan 26 10:15:59 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