added more consistency checks to debian init script