And if you want your sript to work for acpi and apm too, than depend on powermgmt-base debian package, and use /usr/bin/on_ac_power. If we are in a Debian list, do it the Debian way :)
Gavriel
And if you want your sript to work for acpi and apm too, than depend on powermgmt-base debian package, and use /usr/bin/on_ac_power. If we are in a Debian list, do it the Debian way :)
Gavriel