From 04b3fe95a8b17d5236148701736249e98521713c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 26 Jul 1999 14:57:33 +0000 Subject: take out some code that's never run... --- sysconfig/network-scripts/ifup | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'sysconfig/network-scripts/ifup') 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 -- cgit v1.2.1