aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-08-07 05:21:00 +0000
committerBill Nottingham <notting@redhat.com>2000-08-07 05:21:00 +0000
commited86c74d282036c22a83756ce526336f0b477a0c (patch)
tree7ad014f666e8fd72bc1d779a255448a5c0e8a1bf
parentd482606bf5ecf6f8e47c330242720ff79e9bfae3 (diff)
downloadinitscripts-ed86c74d282036c22a83756ce526336f0b477a0c.tar
initscripts-ed86c74d282036c22a83756ce526336f0b477a0c.tar.gz
initscripts-ed86c74d282036c22a83756ce526336f0b477a0c.tar.bz2
initscripts-ed86c74d282036c22a83756ce526336f0b477a0c.tar.xz
initscripts-ed86c74d282036c22a83756ce526336f0b477a0c.zip
fix syntax error in ifup-routes
-rwxr-xr-xsysconfig/network-scripts/ifup-routes2
1 files changed, 1 insertions, 1 deletions
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