-if [ "$ACTION" = add ]; then
- case "$DEVICENAME" in
- *-*:*.*) config_load network;;
- *) exit 0;;
- esac
-
- local tty
- for tty in /sys/$DEVPATH/ttyUSB* /sys/$DEVPATH/tty/ttyACM*;; do
- [ -d "$tty" ] || continue
- config_foreach find_3g_iface interface "$tty"
- done
-fi