fixed init.d starting mode