diff options
author | Bill Nottingham <notting@redhat.com> | 1999-07-26 14:57:33 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-07-26 14:57:33 +0000 |
commit | 04b3fe95a8b17d5236148701736249e98521713c (patch) | |
tree | 697dbf1e9a24b8b86cb318c450b94cca2f29f447 | |
parent | 8acf15e40ffc095ac999a6747db4d8b2bc001401 (diff) | |
download | initscripts-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...
-rwxr-xr-x | sysconfig/network-scripts/ifup | 21 |
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 |