From 6e782ec5f090087a42eb6716bc28f8afe0a342c5 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 13 Mar 2001 17:17:52 +0000 Subject: - fix typo in rc.sysinit - fix ifup-routes not setting DEVICE properly --- sysconfig/network-scripts/ifup-routes | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes index 61e209c9..cd57460f 100755 --- a/sysconfig/network-scripts/ifup-routes +++ b/sysconfig/network-scripts/ifup-routes @@ -14,6 +14,8 @@ if [ ! -f /etc/sysconfig/static-routes ]; then exit 0 fi +DEVICE=$1 + #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 -- cgit v1.2.1