mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 03:14:36 +08:00
acpi-call .install corrections
This commit is contained in:
parent
66475551e3
commit
04c0106071
@ -8,7 +8,7 @@ _kver="3.7.6-1-CHAKRA"
|
||||
pkgname=acpi-call
|
||||
_pkgname=acpi_call
|
||||
pkgver=1.0.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
|
||||
arch=('x86_64')
|
||||
url=("http://github.com/mkottman/acpi_call")
|
||||
|
@ -2,14 +2,16 @@ 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"
|
||||
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"
|
||||
}
|
||||
|
||||
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"
|
||||
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"
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
|
Loading…
Reference in New Issue
Block a user