bashizms in init script

Forum for questions and support relating to the 1.24.x releases only.
Locked
arekm
Posts: 21
Joined: Fri Nov 30, 2007 6:31 pm

bashizms in init script

Post 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
Locked