Working initscripts on Ubuntu and RHEL/Centos