LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slack doesnt shutdown automatically?? (https://www.linuxquestions.org/questions/slackware-14/slack-doesnt-shutdown-automatically-130762/)

yenonn 01-02-2004 02:52 AM

slack doesnt shutdown automatically??
 
hi,

i have a ATX power supply.. previously, i had redhat. redhat shutdown my power supply automatically. now, i have slack9.1. but, it never shutdown my power supply automatically... how can i make it so that it will be able to turn off power supply automatically??

nephilim 01-02-2004 03:30 AM

Look in /etc/rc.d to see if the line concerning APM is commented out. It probably is, so just uncomment it, reboot and it should be fine.

codec 01-02-2004 03:31 AM

need:
-recompile kernel with APM/ACPI
-with permission to shutdown (you can chmod 4750 and chown root:users)

Skyline 01-02-2004 06:10 AM

Or try adding :

apm=power-off

to your append line in the Slackware stanza in lilo.conf - ie for example

append="devfs=mount hdc=ide-scsi acpi=off quiet apm=power-off"

then type

/sbin/lilo

to make the changes take effect

Then use halt as Root user to shut the system down........

Kovacs 01-02-2004 06:16 AM

There have been a few threads like this and people start talking about recompiling kernels etc... either you've got a different set up than me or you're doing it the hard way. :D

Uncomment this line in /etc/rc.d/rc.modules:

# /sbin/modprobe apm

Reboot and then next time you want to shutdown, the pc will turn itself off automagically with shutdown, halt etc. :)

nephilim 01-02-2004 06:19 AM

Quote:

Originally posted by Kovacs
Uncomment this line in /etc/rc.d/rc.modules:

# /sbin/modprobe apm

I see now that I didn't type the filename correctly in my previous thread, but that's the way I've done it too.

Whitehat 01-02-2004 09:38 AM

Just to be witness to the above working, I've done it too.

I just put in the following in my rc.local file: ( I couldn't fine anything in rc.modules)

modprobe apm

Then when I shutdown I just do:

shutdown -h now
-or-
shutdown -r now

Peace,
Whitehat


All times are GMT -5. The time now is 03:43 PM.