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"
|
2012-06-24 02:56:16 +08:00
|
|
|
echo ">>> run /usr/bin/test_off.sh to test/view different acpi_call functions to see if it disables your secondary/hybrid video card"
|
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"
|
2012-06-24 02:56:16 +08:00
|
|
|
echo ">>> run /usr/bin/test_off.sh to test/view different acpi_call functions to see if it disables your secondary/hybrid video card"
|
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 $*
|