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