Make init.d scripts for monitor OS-independent