odhcp6c: bring up nested interfaces on config change
SVN-Revision: 40745
This commit is contained in:
parent
108c0f5319
commit
cc80c11538
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue