[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
This commit is contained in:
jow 2010-09-04 17:29:44 +00:00
parent a6cb3f59be
commit 4ee1eb1de4
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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