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