Red Hat Bugzilla – Bug 77290
no APM power-off if APM is compiled as a module
Last modified: 2015-01-07 19:01:30 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
If APM is compiled as a module, /etc/rc.d/init.d/apm stop will unload it. This
disables APM power-off.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Compile and install a kernel with APM as a module.
2.In modules.conf: options apm power_off=1
4.shutdown -h now
Actual Results: The system does not power-off.
Expected Results: The system should have powered off.
The line /sbin/modprobe -r apm in /etc/rc.d/init.d/apmd causes the problem. It's
useless and should be removed, which fixes the problem.
Done in 3.0.2-19.