[laptop-mode] Making install.sh more distribution independent

Alon Bar-Lev alon.barlev at gmail.com
Mon Jun 30 08:12:13 CEST 2008


Hello,

Can you please consider making the script more distribution independent?

For example:

a) support DESTDIR

DESTDIR=/tmp/temp-root ./install.sh

This will install all required files into $DESTDIR so that package management can
commit the files.

b) Do not handle init.d

INIT_D="skip" ./install.sh

This will not modify the init.d script, so that distribution specific init.d script may be used.

c) Manual selection of acpi/apm support.

ACPI="no" APM="auto" ./install.sh

Thanks!
Alon.


More information about the laptop-mode mailing list