aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ippp
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-02-07 03:12:44 +0000
committerBill Nottingham <notting@redhat.com>2002-02-07 03:12:44 +0000
commit0f4f383f0771c55144b156ca57f7e00c6097c241 (patch)
treeffec157b8055a996fbb40307dc336b94f5ba68f5 /sysconfig/network-scripts/ifup-ippp
parente66cc4f3100d6e47aebf6202525a5ce6c0d394d4 (diff)
downloadinitscripts-0f4f383f0771c55144b156ca57f7e00c6097c241.tar
initscripts-0f4f383f0771c55144b156ca57f7e00c6097c241.tar.gz
initscripts-0f4f383f0771c55144b156ca57f7e00c6097c241.tar.bz2
initscripts-0f4f383f0771c55144b156ca57f7e00c6097c241.tar.xz
initscripts-0f4f383f0771c55144b156ca57f7e00c6097c241.zip
- fixed typo bug ifup-ippp
- fix bug in channel bundling if MSN is missed - support DEBUG option
Diffstat (limited to 'sysconfig/network-scripts/ifup-ippp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index 1f5b5756..2f715796 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -13,7 +13,6 @@ cd /etc/sysconfig/network-scripts
# Get global network configuration
[ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
-DEBUG="no"
GATEWAY=""
# set device
@@ -195,10 +194,6 @@ function addprovider()
# set channel bundling
if [ "$BUNDLING" = "yes" -o "$BUNDLING" = "on" ] && [ -n "$SLAVE_DEVICE" ]; then
[ -z "$SLAVE_MSN" ] && SLAVE_MSN="$MSN"
- if [ -z "$SLAVE_MSN" ]; then
- log_echo "Error: $1: SLAVE_MSN not set"
- exit 1
- fi
[ -z "$SLAVE_PHONE_OUT" ] && SLAVE_PHONE_OUT="$PHONE_OUT"
[ -z "$SLAVE_PHONE_IN" ] && SLAVE_PHONE_IN="$PHONE_IN"
[ -z "$SLAVE_HUPTIMEOUT" ] && SLAVE_HUPTIMEOUT="$HUPTIMEOUT"
@@ -314,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