pisense_: remove bashisms to use /bin/sh