From: Jo-Philipp Wich Date: Sat, 4 Sep 2010 17:29:44 +0000 (+0000) Subject: [packages] usb-modeswitch: bump to v1.1.4, make hotplug less chatty X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=4e041bf75f35d7635124cd2c021695230818739a;ds=sidebyside [packages] usb-modeswitch: bump to v1.1.4, make hotplug less chatty SVN-Revision: 22903 --- diff --git a/utils/usb-modeswitch/Makefile b/utils/usb-modeswitch/Makefile index 0aa202189e..da2d2a32f5 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 eebaf1355e..1aecb1fb31 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