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'm trying to figure out how to perform a shutdown on a Red Hat Linux 5.3 box where the machine will not power down at the end of the shutdown procedure. (Doing this allows me to cut power to the box and then get it to auto-boot once power has been restored.)

Any suggestions?

share|improve this question

2 Answers 2

up vote 2 down vote accepted
shutdown -H now
share|improve this answer
    
Congrats on the 10K and the triple laurel wreath. –  Dennis Williamson Oct 22 '10 at 1:46
    
@Dennis: Thanks. We'll see if it sticks around though (the question I broke 10k on was moved). –  Ignacio Vazquez-Abrams Oct 22 '10 at 1:53
    
So it's "safe" to power-off the system when it is in single user mode? –  Nate Oct 22 '10 at 11:47
    
If this brings the system into single-user mode then the documentation is wrong. –  Ignacio Vazquez-Abrams Oct 22 '10 at 14:04
    
My mistake. I saw a command prompt and assumed it was single-user mode. –  Nate Oct 22 '10 at 14:49

I've had some mild success thanks to studying the /etc/rc.d/init.d/halt script, creating a /halt file. But the /halt file seems to get deleted upon booting.

share|improve this answer

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.