aboutsummaryrefslogtreecommitdiffstats
path: root/name.sh
diff options
context:
space:
mode:
Diffstat (limited to 'name.sh')
-rwxr-xr-xname.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/name.sh b/name.sh
index 288ea8f..f75e2af 100755
--- a/name.sh
+++ b/name.sh
@@ -1,7 +1,7 @@
#!/bin/sh
TYPE="$1"
-if test -f "/usr/include/linux/input-event-codes.h"; then
+if test -f "/usr/include/linux/input-event-codes.h" -a "$TYPE" != "BUS"; then
INPUT="/usr/include/linux/input-event-codes.h"
else
INPUT="/usr/include/linux/input.h"