aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-aliases
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-11-12 06:46:00 +0000
committerBill Nottingham <notting@redhat.com>2002-11-12 06:46:00 +0000
commit0842c7603b9eea5849048655be3aaba6b0dcb41e (patch)
tree6574a666751d23b79b50202147656d27f23a901a /sysconfig/network-scripts/ifup-aliases
parent8db687d270a970287933e4abcfbb85b80ad37c8f (diff)
downloadinitscripts-0842c7603b9eea5849048655be3aaba6b0dcb41e.tar
initscripts-0842c7603b9eea5849048655be3aaba6b0dcb41e.tar.gz
initscripts-0842c7603b9eea5849048655be3aaba6b0dcb41e.tar.bz2
initscripts-0842c7603b9eea5849048655be3aaba6b0dcb41e.tar.xz
initscripts-0842c7603b9eea5849048655be3aaba6b0dcb41e.zip
just use ifup-routes for aliases
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 4671692a..0c695529 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -275,13 +275,8 @@ function new_interface ()
fi
fi
fi
-
- if [ -f /etc/sysconfig/static-routes ]; then
- #note the trailing space in the grep gets rid of aliases
- grep "^$DEVICE " /etc/sysconfig/static-routes | while read device args; do
- /sbin/route add -$args $device
- done
- fi
+
+ /etc/sysconfig/network-scripts/ifup-routes ${DEVICE}
do_netreport=yes
ifuplocal_queue="$ifuplocal_queue $DEVICE"