core/acpi_call-lts/acpi_call.install

24 lines
754 B
Plaintext
Raw Normal View History

2011-02-26 04:12:50 +08:00
post_install() {
2012-02-21 00:56:55 +08:00
depmod -a
2011-02-26 04:12:50 +08:00
echo ""
echo "[+] modprobe acpi_call"
2013-10-20 23:18:05 +08:00
echo ">>> run /usr/bin/turn_off_gpu.sh to test/view different acpi_call functions to see if it disables your secondary/hybrid video card"
echo ">>> There are a few scripts to use in /usr/share/acpi_call/ - some for specific laptops => asus1215n.sh, dellL702X.sh, m11xr2.sh"
2011-02-26 04:12:50 +08:00
}
post_upgrade() {
2012-02-21 00:56:55 +08:00
depmod -a
2011-02-26 04:12:50 +08:00
echo ""
echo "[+] modprobe acpi_call"
2013-10-20 23:18:05 +08:00
echo ">>> run /usr/bin/turn_off_gpu.sh to test/view different acpi_call functions to see if it disables your secondary/hybrid video card"
echo ">>> There are a few scripts to use in /usr/share/acpi_call/ - some for specific laptops => asus1215n.sh, dellL702X.sh, m11xr2.sh"
2011-02-26 04:12:50 +08:00
}
post_remove() {
2012-02-21 00:56:55 +08:00
depmod -a
2011-02-26 04:12:50 +08:00
}
op=$1
shift
$op $*