odhcp6c: bring up nested interfaces on config change

SVN-Revision: 40745
This commit is contained in:
Steven Barth 2014-05-09 11:58:04 +00:00
parent 108c0f5319
commit cc80c11538

View File

@ -92,6 +92,7 @@ setup_interface () {
[ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE"
json_close_object
ubus call network add_dynamic "$(json_dump)"
ifup "$IFACE_DSLITE"
fi
MAPTYPE=""
@ -120,6 +121,7 @@ setup_interface () {
[ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
json_close_object
ubus call network add_dynamic "$(json_dump)"
ifup "$IFACE_MAP"
fi
# TODO: $SNTP_IP $SIP_IP $SNTP_FQDN $SIP_DOMAIN