summarylogtreecommitdiffstats
path: root/asus-touchpad-numpad-driver-git.install
blob: 34c0dede8cd65e7b1d79b6974dc11bc8c4885c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    modprobe i2c-dev
    echo "i2c-dev" | tee /etc/modules-load.d/i2c-dev.conf >/dev/null
    systemctl enable --now asus_touchpad_numpad
}

pre_upgrade() {
    systemctl disable --now asus_touchpad_numpad
}

post_upgrade() {
    systemctl enable --now asus_touchpad_numpad
}

pre_remove() {
    systemctl disable --now asus_touchpad_numpad
}