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