aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-11-02 17:11:23 +0000
committerThan Ngo <than@redhat.com>2001-11-02 17:11:23 +0000
commit89e18426fc1ea9152d1a5e2aa474a92db7ab34da (patch)
tree54a16609db97cb852e601ac3abbaf2e50c030109 /sysconfig
parent4826b887874b50dec78c28716a85b74b30140180 (diff)
downloadinitscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar.gz
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar.bz2
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar.xz
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.zip
fixed typo bug ifup-ippp
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index de314e58..2f715796 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -309,7 +309,8 @@ function addprovider()
if [ -z "$DNS1" -a -z "$DNS2" ]; then
options="$options ms-get-dns"
else
- options="$options ms-dns $DNS1 $DNS2"
+ [ -n "$DNS1" ] && options="$options ms-dns $DNS1"
+ [ -n "$DNS2" ] && options="$options ms-dns $DNS2"
fi
# set debug