Bug in init.d script that needs fixing