summarylogtreecommitdiffstats
path: root/xbox-generic-controller.install
diff options
context:
space:
mode:
Diffstat (limited to 'xbox-generic-controller.install')
-rw-r--r--xbox-generic-controller.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/xbox-generic-controller.install b/xbox-generic-controller.install
new file mode 100644
index 00000000000..09a06a34e7e
--- /dev/null
+++ b/xbox-generic-controller.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo "Removing xpad kernel module"
+ modprobe -r xpad
+ echo "Reloading udev rules"
+ udevadm control --reload-rules
+}
+
+post_upgrade() {
+ post_install
+}