mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
odhcp6c: bring up nested interfaces on config change
SVN-Revision: 40745
This commit is contained in:
parent
108c0f5319
commit
cc80c11538
@ -92,6 +92,7 @@ setup_interface () {
|
|||||||
[ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE"
|
[ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE"
|
||||||
json_close_object
|
json_close_object
|
||||||
ubus call network add_dynamic "$(json_dump)"
|
ubus call network add_dynamic "$(json_dump)"
|
||||||
|
ifup "$IFACE_DSLITE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAPTYPE=""
|
MAPTYPE=""
|
||||||
@ -120,6 +121,7 @@ setup_interface () {
|
|||||||
[ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
|
[ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
|
||||||
json_close_object
|
json_close_object
|
||||||
ubus call network add_dynamic "$(json_dump)"
|
ubus call network add_dynamic "$(json_dump)"
|
||||||
|
ifup "$IFACE_MAP"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: $SNTP_IP $SIP_IP $SNTP_FQDN $SIP_DOMAIN
|
# TODO: $SNTP_IP $SIP_IP $SNTP_FQDN $SIP_DOMAIN
|
||||||
|
Loading…
Reference in New Issue
Block a user