From: Felix Fietkau Date: Mon, 24 Oct 2011 18:46:23 +0000 (+0200) Subject: initialize dns server/search lists X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=e8f450ba2e67716cf3ed70060a309b80aa24cf00 initialize dns server/search lists --- diff --git a/dummy/netifd-proto.sh b/dummy/netifd-proto.sh index c27d562..e61de46 100755 --- a/dummy/netifd-proto.sh +++ b/dummy/netifd-proto.sh @@ -48,6 +48,8 @@ proto_init_update() { PROTO_IP6ADDR= PROTO_ROUTE= PROTO_ROUTE6= + PROTO_DNS= + PROTO_DNS_SEARCH= json_init json_add_int action 0 [ -n "$ifname" -a "*" != "$ifname" ] && json_add_string "ifname" "$ifname"