update init.d script and install it