Added post install and post remove to blacklist hid-sony

pull/2/head
Boris Yumankulov 10 months ago
parent 4fd793f8f3
commit ac45a5ff86
No known key found for this signature in database
GPG Key ID: 14B4A5673FD39C76

@ -5,3 +5,6 @@ CLEAN="make clean"
BUILT_MODULE_NAME[0]="hid-sony-fix-dkms"
DEST_MODULE_LOCATION[0]="/kernel/drivers/hid"
AUTOINSTALL="yes"
POST_INSTALL="dkms.post_install"
POST_REMOVE="dkms.post_remove"

@ -0,0 +1,4 @@
#!/bin/sh
echo "Installing modalias database..."
install -D -m 0644 -t /etc/modprobe.d etc-modprobe.d/hid-sony-blacklist.conf

@ -0,0 +1,4 @@
#!/bin/sh
echo "Uninstalling modalias database..."
rm -f /etc/modprobe.d/hid-sony-blacklist.conf
Loading…
Cancel
Save