[etherlab-users] master startup script uses bashisms

martin troxler martin.troxler at komaxgroup.com
Wed Dec 17 15:11:17 CET 2008


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.




More information about the Etherlab-users mailing list