3 if [ "$ACTION" = ifup ]; then
7 . /lib/netifd/proto/6in4.sh
16 config_get proto "$cfg" proto
17 [ "$proto" = 6in4 ] || return 0
20 config_get wandev "$cfg" wan_device "$(find_6in4_wanif)"
21 [ "$wandev" = "$DEVICE" ] || return 0
23 local wanip=$(find_6in4_wanip "$wandev")
25 [ -n "$wanip" ] && ifup "$cfg"
28 config_foreach update_tunnel interface