summaryrefslogtreecommitdiffstats
path: root/install/keyboard
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-09-09 14:41:18 +0200
committerDave Reisner <dreisner@archlinux.org>2016-09-09 14:41:18 +0200
commit757b511d71901a445f300f14ce8e54804d54724d (patch)
tree6b2277cc0ef4748b6ee7bbe81a8a044d938f7c07 /install/keyboard
parent1288935e3a77321fabee153346730ed4f8e46f16 (diff)
downloadmkinitcpio-757b511d71901a445f300f14ce8e54804d54724d.tar.gz
mkinitcpio-757b511d71901a445f300f14ce8e54804d54724d.tar.xz
keyboard: get rid of an extra 'grep' callv21
It's been too long and I've forgotten how to hack on mkinitcpio...
Diffstat (limited to 'install/keyboard')
-rw-r--r--install/keyboard4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/keyboard b/install/keyboard
index e5fb61e..9f35089 100644
--- a/install/keyboard
+++ b/install/keyboard
@@ -7,7 +7,7 @@ build() {
# As of 3.5, modaliases seem to be exported for HID
# devices, so we can leverage autodetection.
- IFS=.- read major minor _ <<<"$KERNELVERSION"
+ IFS=.- read -r major minor _ <<<"$KERNELVERSION"
if (( major > 3 || (major == 3 && minor >= 5) )); then
add_checked_modules '/hid/hid'
else
@@ -16,7 +16,7 @@ build() {
add_module 'usbhid'
- map add_checked_modules '/input/keyboard' '/input/serio'
+ add_checked_modules '/input/(serio|keyboard)'
}
help() {