DO_HDPARM=y
if [ -e /usr/sbin/laptop_mode ] ; then
it checks if the file /usr/sbin/laptop_mode exists rather than laptop mode is enabled? the file /usr/sbin/laptop_mode is always there even if laptop mode tool is not enabled. There is supposed to be other way to heck if laptop mode is enabled instead.
Anyways why does ubuntu still use ENABLE_LAPTOP_MODE to control laptop mode, debian has removed it long time before already and they never had any problem with it. I'm also confused about the lines before ENABLE_LAPTOP_MODE in acpi_support:
# Switch to laptop-mode on battery power - off by default as it causes odd
# hangs on some machines. (Note: This is reported to cause breakage in
# Debian - see deb bug #425800. Leaving enabled for Ubuntu for now
# since presumably it's still valid here.)
How come in the file
DO_HDPARM=y laptop_ mode ] ; then
if [ -e /usr/sbin/
it checks if the file /usr/sbin/ laptop_ mode exists rather than laptop mode is enabled? the file /usr/sbin/ laptop_ mode is always there even if laptop mode tool is not enabled. There is supposed to be other way to heck if laptop mode is enabled instead.
Anyways why does ubuntu still use ENABLE_LAPTOP_MODE to control laptop mode, debian has removed it long time before already and they never had any problem with it. I'm also confused about the lines before ENABLE_LAPTOP_MODE in acpi_support:
# Switch to laptop-mode on battery power - off by default as it causes odd
# hangs on some machines. (Note: This is reported to cause breakage in
# Debian - see deb bug #425800. Leaving enabled for Ubuntu for now
# since presumably it's still valid here.)