Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got some services that I'd like to have prompt me on startup to disable them, and then continue starting up normally if no input is given after say 10 seconds. What's the best way to go about this? Can I just modify the init scripts to wait for input and then timeout and continue?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Yes, you can. There is a risk your modified init script will be moved out of the way on upgrades and replaced by a new one though.

On RHEL based systems, you can press 'I' during boot to enter interactive mode. You can then specify, per service, whether it should run or not.

share|improve this answer
    
It's a custom script so I'm not worried about upgrades. But interactive mode didn't even cross my mind for some reason. Thanks. –  Chad P Jul 30 '09 at 14:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.