From b7c1887306c1067984b5e5b564f25a12631b8162 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 11 May 2012 17:21:36 -0400 Subject: use new API for install hooks Signed-off-by: Dave Reisner --- install/usbinput | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/usbinput') diff --git a/install/usbinput b/install/usbinput index f89d0bd..f427600 100644 --- a/install/usbinput +++ b/install/usbinput @@ -1,8 +1,9 @@ #!/bin/bash build() { - MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811_hcd" -e "isp116x_hcd")" - MODULES+=" $(all_modules "/hid/hid-") usbhid?" + add_checked_modules -f '(_cs|sl811_hcd|isp116x_hcd)' '/usb/host' + add_all_modules '/hid/hid-' + add_module 'usbhid?' } help() { -- cgit v1.2.3-24-g4f1b