summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/ppp-script4
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
OpenPOWER on IntegriCloud