init.d script fixes, TODO: restart failing during bootstrap