tweaks to init.d scripts for debian/ubuntu