@kloun would you be able to run the script through [checkbashisms](http://openports.se/sysutils/checkbashisms) to verify that it doesn't contain any Bash-specific features?
I think on some Linuxes `/bin/sh` refers to Bash/Dash in some kind of POSIX compatibility mode, needs testing there too.