From 9d933d94971439fef2f7a945d20ac1c4a7cca324 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 26 Oct 2009 12:50:21 -0400 Subject: Handle secondary DNS correctly for 3G --- sbin/ppp-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/ppp-script') diff --git a/sbin/ppp-script b/sbin/ppp-script index 1749eb4..0aa7ced 100755 --- a/sbin/ppp-script +++ b/sbin/ppp-script @@ -9,11 +9,11 @@ if [ -f /var/etc/nameserver_$2 ]; then fi # DNS1 -if [ "$3" != "" ]; then +if [ "$3" != "DNS0" ]; then echo $3 >> /var/etc/nameserver_$2 fi # DNS2 -if [ "$4" != "DNS2" ]; then +if [ "$4" != "DNS1" ]; then echo $4 >> /var/etc/nameserver_$2 fi \ No newline at end of file -- cgit v1.1