LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shut Down (https://www.linuxquestions.org/questions/linux-newbie-8/shut-down-17780/)

shusseina 04-05-2002 08:14 AM

Shut Down
 
I am running Mandrake 8.1 on a Gateway PII-350 set up to dual boot with Win98.

If I shut down from Win98 the comp turns off automatically, but when shutting down from Linux the comp reboots, which is a pain cos it means I have to wait and press the power button to turn it off.

Any ideas on how I might instruct Linux to automatically turn off my comp?

Thanks in advance!

abrakadabra 04-05-2002 09:46 AM

Hi shusseina, what command are you using to shutdown (hint) your machine? Few suggestions; take a look at the man shutdown page for flags to use with this command. Some distros use shutdown -k now, the -k flag (kill) others use shutdown -h now, -h flag (halt) It sound like if you are not using any flags on your command, it's going to a default which may be reboot.
Good luck!
:study:

abayden 04-09-2002 04:22 PM

Shutdown
 
Try

halt -p

gui10 04-10-2002 06:12 AM

at the console, assume superuser privelages. then type:
shutdown -h now

this will shut your comp down immediately.

jetblackz 04-11-2002 08:57 PM

I seem to recall my ex-HP C400 was in the same boat. It turned out that it was the mobo in that generation. The solution: use some switch/parameter to force Linux to recognize the mobo as power-saving compliant. Sorry I forgot it.

mikeshn 04-11-2002 09:03 PM

halt
halt -p
shutdown -h now (I use it under RH 7.1)


All times are GMT -5. The time now is 04:18 AM.