debian init scripts: refactoring in condition