From 4ee1eb1de46709844ab249978b2dd496b0f88e97 Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 4 Sep 2010 17:29:44 +0000 Subject: [PATCH] [packages] usb-modeswitch: bump to v1.1.4, make hotplug less chatty git-svn-id: svn://svn.openwrt.org/openwrt/packages@22903 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/usb-modeswitch/Makefile | 6 +++--- utils/usb-modeswitch/files/modeswitch.hotplug | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/utils/usb-modeswitch/Makefile b/utils/usb-modeswitch/Makefile index 0aa202189..da2d2a32f 100644 --- a/utils/usb-modeswitch/Makefile +++ b/utils/usb-modeswitch/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usb-modeswitch -PKG_VERSION:=1.1.2 -PKG_RELEASE:=2 +PKG_VERSION:=1.1.4 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch -PKG_MD5SUM:=071cb300d00938bfe20025c654303d92 +PKG_MD5SUM:=a04db36bd0fc6fb303df7567f677b714 include $(INCLUDE_DIR)/package.mk diff --git a/utils/usb-modeswitch/files/modeswitch.hotplug b/utils/usb-modeswitch/files/modeswitch.hotplug index eebaf1355..1aecb1fb3 100644 --- a/utils/usb-modeswitch/files/modeswitch.hotplug +++ b/utils/usb-modeswitch/files/modeswitch.hotplug @@ -92,7 +92,7 @@ if [ "$ACTION" = add ]; then [ -d "/etc/usb_modeswitch.d" ] && [ -x "$modeswitch" ] && { case "$DEVICENAME" in *-*:*.*) : ;; - *) log "Not handling $DEVICENAME"; exit 0 ;; + *) exit 0 ;; esac find_usb_attrs @@ -121,8 +121,6 @@ if [ "$ACTION" = add ]; then [ -n "$configs" ] && { log "$DEVICENAME: Selecting ${configs%% *} for mode switching" $modeswitch -c "${configs%% *}" - } || { - log "$DEVICENAME: Device does not seem to need mode switching" } } fi