From fc0f5e4b0c11333baabdd176c41237296a94ede6 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 23 May 2001 14:20:08 +0000 Subject: fix static routes (#29500) --- sysconfig/network-scripts/ifup-aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1