the ethercat startup script /etc/init.d/ethercat uses the 'function'
keyword which is a feature supported only by the bash.


Since Ubuntu uses the dash as default shell (to improve the boot
process, see https://wiki.ubuntu.com/DashAsBinSh) I suggest to either 
- remove the 'function' keyword
or
- mark the script as a bash script (#/bin/bash)


Best regards

Martin Troxler







Note:
This e-mail is for the named person's use only. It may contain confidential 
and/or privileged information. If you have received this e-mail in error, 
please notify the sender immediately and delete the material from any system. 
Any unauthorized copying, disclosure, distribution or other use of this 
information by persons or entities other than the intended recipient is 
prohibited.
Thank You.

_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to