2 # INIT script to check whether we're on batteries, and so start with laptop
5 # BUGS: unless we start *really* late, we have no way of throttling
6 # xscreensaver, since it won't be there to command.
9 .
/usr
/share
/acpi-support
/power-funcs
11 #test -f /lib/lsb/init-functions ||exit 1
12 #. /lib/lsb/init-functions
14 test -d /var
/lib
/acpi-support ||
exit 0
20 stat_busy
"Checking battery state..."
22 # Source everything in /etc/acpi/start.d/
23 for SCRIPT
in /etc
/acpi
/start.d
/*.sh
; do
29 stat_busy
"Disabling power management..."
30 /etc
/acpi
/power.sh stop
39 echo "usage: $0 {start|stop|restart}"