3 if [ "$ACTION" = ifup ]; then
13 config_get proto "$cfg" proto
14 [ "$proto" = 6to4 ] || return 0
17 config_get wandev "$cfg" wan_device "$(find_6to4_wanif)"
18 [ "$wandev" = "$DEVICE" ] || return 0
20 local wanip=$(find_6to4_wanip "$wandev")
23 uci_set_state network "$cfg" ipaddr "$wanip"
28 config_foreach update_tunnel interface