aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-02-20 17:14:53 +0000
committerBill Nottingham <notting@redhat.com>2003-02-20 17:14:53 +0000
commit293008d164b39d61090b3a370d6be15a0a7f91dc (patch)
tree12ede51ecaa781319c523dee4ad59f54f5a74b3f /sysconfig/network-scripts/ifup-post
parentf25b42a4885c34447c4dc8350ec5f9637e217372 (diff)
downloadinitscripts-293008d164b39d61090b3a370d6be15a0a7f91dc.tar
initscripts-293008d164b39d61090b3a370d6be15a0a7f91dc.tar.gz
initscripts-293008d164b39d61090b3a370d6be15a0a7f91dc.tar.bz2
initscripts-293008d164b39d61090b3a370d6be15a0a7f91dc.tar.xz
initscripts-293008d164b39d61090b3a370d6be15a0a7f91dc.zip
redhat-config-network writes $NAME.route, not $DEVICE.route. Handle
that. (#84193)
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index c9591631..2fbafbfb 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -21,7 +21,7 @@ if [ "$ISALIAS" = no ] ; then
/etc/sysconfig/network-scripts/ifup-aliases ${DEVICE} ${CONFIG}
fi
-/etc/sysconfig/network-scripts/ifup-routes ${DEVICE}
+/etc/sysconfig/network-scripts/ifup-routes ${DEVICE} ${NAME}
if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ]; then