projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32872ac
)
initialize dns server/search lists
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 24 Oct 2011 18:46:23 +0000
(20:46 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 24 Oct 2011 18:46:23 +0000
(20:46 +0200)
dummy/netifd-proto.sh
patch
|
blob
|
history
diff --git
a/dummy/netifd-proto.sh
b/dummy/netifd-proto.sh
index c27d56253ed1a955cbd2db704697b62ef3a29d27..e61de463a823d2593e933e4e1560ac0fefb45b8c 100755
(executable)
--- 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"