3 . /lib/netifd/netifd-proto.sh
10 config_get proto "$cfg" proto
11 [ "$proto" = 3g ] || return 0
13 # bypass state vars here because 00-netstate could clobber .device
14 local dev=$(uci_get network "$cfg" device)
16 if [ "${dev##*/}" = "${tty##*/}" ]; then
17 if [ "$ACTION" = add ]; then
22 proto_set_available "$cfg" $available
28 [ -e "/dev/$DEVICENAME" ] || [ "$ACTION" = remove ] || exit 0
30 config_foreach find_3g_iface interface "/dev/$DEVICENAME"