diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-02-07 18:07:46 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-02-07 19:03:15 -0500 |
commit | d70bb7647d322ab904cbd8834d41c94f7f01ecb2 (patch) | |
tree | b45f1f681ce061bf342781d548058cd28787e763 | |
parent | 5e98edfdb32cca10b2a8efa70c01c1f3b3f30f18 (diff) | |
download | conf-d70bb7647d322ab904cbd8834d41c94f7f01ecb2.tar.gz conf-d70bb7647d322ab904cbd8834d41c94f7f01ecb2.zip |
fix watch-kbd for new udev mechanisms
looks like the keyboard device symlinks are created and then moved into
place now, rather than just created directly
-rwxr-xr-x | bin/hornet/watch-kbd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hornet/watch-kbd b/bin/hornet/watch-kbd index 2516f6b..a4d504e 100755 --- a/bin/hornet/watch-kbd +++ b/bin/hornet/watch-kbd @@ -4,7 +4,7 @@ set -o pipefail trap 'kill $(jobs -p)' EXIT -inotifywait -mq -e create -e delete --exclude '.*tmp.*' /dev/input/by-id/ | +inotifywait -mq -e create -e delete -e moved_to --exclude '.*tmp.*' /dev/input/by-id/ | while read -r event; do echo "$event" if echo "$event" | grep -q USB_Keyboard; then |