diff options
author | Bill Nottingham <notting@redhat.com> | 2001-05-23 14:20:32 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-05-23 14:20:32 +0000 |
commit | f705e15cac841cfbcd98d372aefca7950c19fb6b (patch) | |
tree | 80cd1fa6a8b9ee40d472c70073272185e399577c /sysconfig | |
parent | c53b07fd6a283da7aca1d563002e003e2205a71f (diff) | |
download | initscripts-f705e15cac841cfbcd98d372aefca7950c19fb6b.tar initscripts-f705e15cac841cfbcd98d372aefca7950c19fb6b.tar.gz initscripts-f705e15cac841cfbcd98d372aefca7950c19fb6b.tar.bz2 initscripts-f705e15cac841cfbcd98d372aefca7950c19fb6b.tar.xz initscripts-f705e15cac841cfbcd98d372aefca7950c19fb6b.zip |
fix static routes (#29500)
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup-aliases | 2 |
1 files changed, 1 insertions, 1 deletions
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 |