Remove bashism's in init scripts.