From ed86c74d282036c22a83756ce526336f0b477a0c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 7 Aug 2000 05:21:00 +0000 Subject: fix syntax error in ifup-routes --- sysconfig/network-scripts/ifup-routes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-routes') diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes index c96f947e..4a4d5aa8 100755 --- a/sysconfig/network-scripts/ifup-routes +++ b/sysconfig/network-scripts/ifup-routes @@ -16,7 +16,7 @@ grep "^$1 " /etc/sysconfig/static-routes | while read device args; do /sbin/route add -$args $device done grep "^any " /etc/sysconfig/static-routes | while read ignore type net netmask mask bogus dev ; do - if [ "$dev" = "$device" ]; then + if [ "$dev" = "$1" ]; then /sbin/route add -$type $net $netmask $mask $dev fi done -- cgit v1.2.1