commit 9a6cb17053ed2eb8acc92ae5ef7d4f5e980b6029
parent d00ffe519c22fd16da00fd344a0be5971e2a7e77
Author: St John Karp <contact@stjo.hn>
Date: Wed, 20 Jul 2022 09:51:41 -0400
smdev: Rebroadcast input events
This allows input devices (like a mouse) to be unplugged and plugged
back in.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/smdev/build b/core/smdev/build
@@ -8,7 +8,7 @@ sed -e '/fuse/a \\t{ "hidraw[0-9]", "root", "plugdev", 0660, NULL, NULL },' \
-e '/fuse/a \\t{ "hiddev[0-9]", "root", "plugdev", 0660, NULL, NULL },' \
-e '/fuse/a \\t{ "bus/usb/[0-9]+/[0-9]+", "root", "plugdev", 0660, NULL, "@chgrp plugdev /dev/bus/usb/*/* && chmod 660 /dev/bus/usb/*/*" },' \
-e 's/"tty\[0-9\]", "root", "root", 0600,/"tty\[0-9\]", "root", "tty", 0660,/' \
- -e 's/"input\/\.\*", "root", "root", 0640,/"input\/\.\*", "root", "input", 0660,/' \
+ -e 's|"input/\.\*", "root", "root", 0640, "=input/", NULL|"input/\.\*", "root", "input", 0660, "=input/", "*/usr/bin/libudev-zero-helper"|' \
config.def.h > _
mv _ config.def.h