summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/initramfs-usbmouse-hack
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/initramfs-usbmouse-hack')
-rwxr-xr-xconfig/chroot_local-hooks/initramfs-usbmouse-hack3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/initramfs-usbmouse-hack b/config/chroot_local-hooks/initramfs-usbmouse-hack
new file mode 100755
index 0000000..349d173
--- /dev/null
+++ b/config/chroot_local-hooks/initramfs-usbmouse-hack
@@ -0,0 +1,3 @@
+#!/bin/bash
+# fixes mouse for Macbook Trackpad
+sed -i "s/\(hid-zydacron.ko\)$/\1 usbmouse.ko/" /usr/share/initramfs-tools/hook-functions