This is trivially easy, just give the user some hints as to why this isn't enabled by default rather than silently fail. Also, perhaps this should be enabled for the netbook-remix variant, since these all use more modern hardware?
Change this in /etc/init.d/laptop-mode:
# FIXME: this shouldn't be configured there
if [ -f /etc/default/acpi-support ]; then
. /etc/default/acpi-support;
fi
to this:
# FIXME: this shouldn't be configured there
if [ -f /etc/default/acpi-support ]; then
. /etc/default/acpi-support;
echo "You need to set ENABLE_LAPTOP_MODE=true in /etc/default/acpi-support"
fi
This is trivially easy, just give the user some hints as to why this isn't enabled by default rather than silently fail. Also, perhaps this should be enabled for the netbook-remix variant, since these all use more modern hardware?
Change this in /etc/init. d/laptop- mode: acpi-support ]; then acpi-support;
# FIXME: this shouldn't be configured there
if [ -f /etc/default/
. /etc/default/
fi
to this: acpi-support ]; then acpi-support; LAPTOP_ MODE=true in /etc/default/ acpi-support"
# FIXME: this shouldn't be configured there
if [ -f /etc/default/
. /etc/default/
echo "You need to set ENABLE_
fi