mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 07:27:14 +08:00
22 lines
470 B
Plaintext
22 lines
470 B
Plaintext
|
post_install() {
|
||
|
depmod -a
|
||
|
echo ""
|
||
|
echo "[+] modprobe acpi_call"
|
||
|
echo ">>> run /usr/bin/test_off.sh to test/view different acpi_call functions to see if it disables your secondary/hybrid video card"
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
depmod -a
|
||
|
echo ""
|
||
|
echo "[+] modprobe acpi_call"
|
||
|
echo ">>> run /usr/bin/test_off.sh to test/view different acpi_call functions to see if it disables your secondary/hybrid video card"
|
||
|
}
|
||
|
|
||
|
post_remove() {
|
||
|
depmod -a
|
||
|
}
|
||
|
|
||
|
op=$1
|
||
|
shift
|
||
|
$op $*
|