fixes in init.d scripts