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