diff options
author | Scott Ullrich <sullrich@G5.local> | 2009-10-26 12:50:21 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@G5.local> | 2009-10-26 12:50:21 -0400 |
commit | 9d933d94971439fef2f7a945d20ac1c4a7cca324 (patch) | |
tree | 04edcebb7beee801e67c4e98bec56496bb241c72 /sbin | |
parent | 1d894eafbfc039a29d782dc8c1d7956f8e6489f2 (diff) | |
download | pfsense-9d933d94971439fef2f7a945d20ac1c4a7cca324.zip pfsense-9d933d94971439fef2f7a945d20ac1c4a7cca324.tar.gz |
Handle secondary DNS correctly for 3G
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/ppp-script | 4 |
1 files changed, 2 insertions, 2 deletions
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 |