Browse Source

comgt: fireup a dhcpv6-client for directip as well

SVN-Revision: 42670
Steven Barth 11 years ago
parent
commit
e5190a77e1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      package/network/utils/comgt/files/directip.sh

+ 6 - 0
package/network/utils/comgt/files/directip.sh

@@ -78,6 +78,12 @@ proto_directip_setup() {
 	json_add_string proto "dhcp"
 	ubus call network add_dynamic "$(json_dump)"
 
+	json_init
+	json_add_string name "${interface}_dhcpv6"
+	json_add_string ifname "@$interface"
+	json_add_string proto "dhcpv6"
+	ubus call network add_dynamic "$(json_dump)"
+
 	return 0
 }