diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2014-11-21 02:26:35 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2014-11-21 02:26:35 +0800 |
commit | 2324cc8cd6212f3cc4e56f50e7b333a1f181f477 (patch) | |
tree | d1d23e1634dd99103630aff270948e7a4b9dfb3f | |
parent | 479e75b8ffd815724a87b4be2bf25dea5670f183 (diff) | |
download | common-2324cc8cd6212f3cc4e56f50e7b333a1f181f477.tar.gz |
eth0_dns.sh: update to use setnetdns to set dns for eth0
update according to the upstream
Change-Id: I2caa104f93dfd5549bc89046a22e3ab20516a0b9
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | eth0_dns.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eth0_dns.sh b/eth0_dns.sh index 2317931..66e324e 100644 --- a/eth0_dns.sh +++ b/eth0_dns.sh @@ -1,3 +1,2 @@ #!/system/bin/sh -/system/bin/ndc resolver setdefaultif eth0 -/system/bin/ndc resolver setifdns eth0 '' 8.8.8.8 +/system/bin/ndc resolver setnetdns eth0 "" 8.8.8.8 |