Page 1 of 1

bashizms in init script

Posted: Mon Jun 13, 2011 7:46 am
by arekm
zoneminder init script is using such things like echo -n $"..." which is totally invalid for POSIX /bin/sh.

echo -n $"Starting $prog: "

Please don't use bashizms in such scripts. /bin/sh is rarely a bash, there are smaller and faster shells for /bin/sh purpose.

Edit: also this file having dos-style line endings makes little sense