Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm runinng Slack 9.1. Before i had redHat 9 and when i turned off my pc (with shutdown -h now) the computer turned off. But now with slack it goes down normally, but at the message Power down it doesn't automatically turn off. How could i make it to turn off without touching the turn off button? Is there any config file for this. My mb supports this for sure, it worked in redhat, suse, mandrake, knoppix, winxp, now what about slack?
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174
Rep:
You can find out whether the APM module is loaded using lsmod.
This shows all loaded modules, one should be "apm".
If not, for testing purposes use
modprobe apm
If you don't get error messages, another lsmod should show apm now.
This is only for testing and will not survive a reboot.
shutdown -h should now turn the machine off.
I don't know how to configure modules on Slackware; on Debian all modules to be loaded at boottime are listed in /etc/modules
Early versions of Suse used /etc/modules.conf for this, iirc - which is used for other purposes in Debian.
ok, i tried modprobe apm then lsmod and apm was there. When tried to shutdown the pc it worked well. Now how can i put apm to start with my system. should i somehow put it in modules.conf, if yes how? thanx
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.