Updated init.d script to be more LSB compliant (closes: #1).