aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-07-26 14:57:33 +0000
committerBill Nottingham <notting@redhat.com>1999-07-26 14:57:33 +0000
commit04b3fe95a8b17d5236148701736249e98521713c (patch)
tree697dbf1e9a24b8b86cb318c450b94cca2f29f447 /sysconfig/network-scripts/ifup
parent8acf15e40ffc095ac999a6747db4d8b2bc001401 (diff)
downloadinitscripts-04b3fe95a8b17d5236148701736249e98521713c.tar
initscripts-04b3fe95a8b17d5236148701736249e98521713c.tar.gz
initscripts-04b3fe95a8b17d5236148701736249e98521713c.tar.bz2
initscripts-04b3fe95a8b17d5236148701736249e98521713c.tar.xz
initscripts-04b3fe95a8b17d5236148701736249e98521713c.zip
take out some code that's never run...
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup21
1 files changed, 0 insertions, 21 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index ec55fbff..1fda5633 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -126,27 +126,6 @@ else
DEFGW=${GATEWAY}
fi
fi
-
- if [ "$BOOTPROTO" = bootp -a "$ISALIAS" = no ]; then
- if [ -n "$GATEWAYS" ]; then
- for gw in $GATEWAYS; do
- if [ $gw != "${DEFGW}" ]; then
- route add default gw $gw ${DEVICE}
- fi
- done
- fi
-
- if [ -n "$DNSSRVS" -a -n "$SEARCH" ]; then
- echo "search $SEARCH" > /etc/resolv.conf
- for dns in $DNSSRVS; do
- echo "nameserver $dns" >> /etc/resolv.conf
- done
- fi
-
- if [ -n "$BOOTPHOSTNAME" -a -n "$NEEDHOSTNAME" ]; then
- set_hostname $BOOTPHOSTNAME
- fi
- fi
fi
if [ "$IPX" = yes ]; then