init.d-related fixes (2)