aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-05-23 14:20:08 +0000
committerBill Nottingham <notting@redhat.com>2001-05-23 14:20:08 +0000
commitfc0f5e4b0c11333baabdd176c41237296a94ede6 (patch)
tree09da25802a883dff3db1ecd52305d341537d3485
parente54210ddba87dcdd5056a296b9e028e2f6817ebf (diff)
downloadinitscripts-fc0f5e4b0c11333baabdd176c41237296a94ede6.tar
initscripts-fc0f5e4b0c11333baabdd176c41237296a94ede6.tar.gz
initscripts-fc0f5e4b0c11333baabdd176c41237296a94ede6.tar.bz2
initscripts-fc0f5e4b0c11333baabdd176c41237296a94ede6.tar.xz
initscripts-fc0f5e4b0c11333baabdd176c41237296a94ede6.zip
fix static routes (#29500)
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index fce77cb5..1ba0a5e5 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -275,7 +275,7 @@ function new_interface ()
if [ -f /etc/sysconfig/static-routes ]; then
#note the trailing space in the grep gets rid of aliases
- grep "^$1 " /etc/sysconfig/static-routes | while read device args; do
+ grep "^$DEVICE " /etc/sysconfig/static-routes | while read device args; do
/sbin/route add -$args $device
done
fi