Changeset 25621


Ignore:
Timestamp:
2011-02-20T18:24:25+01:00 (7 years ago)
Author:
florian
Message:

[package] comgt: add ACM hotplug

This adds in support for ttyACM devices in the 3g hotplug script.

Signed-off-by: Matthew Eaton <wrt at divinehawk.com>

Location:
trunk/package/comgt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/comgt/Makefile

    r22561 r25621  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=comgt 
    1111PKG_VERSION:=0.32 
    12 PKG_RELEASE:=6 
     12PKG_RELEASE:=7 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz 
  • trunk/package/comgt/files/3g.usb

    r22061 r25621  
    3737 
    3838        local tty 
    39         for tty in /sys/$DEVPATH/ttyUSB*; do 
    40                 [ -d "$tty" ] || break 
     39        for tty in /sys/$DEVPATH/ttyUSB* /sys/$DEVPATH/tty/ttyACM*;; do 
     40                [ -d "$tty" ] || continue 
    4141                config_foreach find_3g_iface interface "$tty" 
    4242        done 
Note: See TracChangeset for help on using the changeset viewer.