how to shutdown my computer
how would i shutdown my computer in the unix prompt? i tried shutdown now and /sbin/poweroff but it apperantly does not turn off my cpu by itself and i have to click my power button on my computer manually... in windows it did it by itself.. i am just wondering if there is a way to turn it off without me manually doing it.. any suggestions?.. thnx!
|
try
shutdown -h now shuts mine down every time HTH Ian |
thnx bud... i'll try that =)
|
if that doesnt work firs use chmod 7755 /sbin/shutdown then shutdown -h now but with chmod 7755 /sbin/shutdown you give permission to all users
|
shutdown -h now puts my system in run level 1 which is maintenance mode and does not shutdown my computer. I always use the simple command halt and that shuts everything down.
|
Check to see if the APM module is loaded.
|
how would i check that?
|
With 'lsmod', if it's not there load it with 'modprobe apm', then try the 'halt' command (all as root).
|
Quote:
*sigh* |
I dont know if I would give all users permission to shutdown you system.
|
the chmod thing didnt work... it said some stuff and then said Power Down. and it was on that screen for a while but did not shut down itself so i'll try the modprobe apm... =)
|
Edit /etc/rc.d/rc.modules and uncomment(remove hash mark/pound sign) from the line:
/sbin/modprobe apm Save the file then run that exact command as root: # /sbin/modprobe apm Now you should be able to issue a 'shutdown -h now' command and computer will power-off by itself. |
How about compile your kernel to support ACPI?
|
Halt works great for me.
xp/mdk9.1 |
All times are GMT -5. The time now is 12:32 PM. |