aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-06-14 21:38:56 +0000
committerBill Nottingham <notting@redhat.com>1999-06-14 21:38:56 +0000
commit10e7bcacf0e5dbf1f114a9c97335736168fb3dca (patch)
tree50d1cf7fc689ced766ea9934f9765605a90be5e6 /sysconfig/network-scripts/ifup-post
parent618bc35f07882f47a4dbee0323cf08ce73bf480b (diff)
downloadinitscripts-10e7bcacf0e5dbf1f114a9c97335736168fb3dca.tar
initscripts-10e7bcacf0e5dbf1f114a9c97335736168fb3dca.tar.gz
initscripts-10e7bcacf0e5dbf1f114a9c97335736168fb3dca.tar.bz2
initscripts-10e7bcacf0e5dbf1f114a9c97335736168fb3dca.tar.xz
initscripts-10e7bcacf0e5dbf1f114a9c97335736168fb3dca.zip
add routes after aliases
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index f5bd0213..6ddf2167 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -15,12 +15,11 @@ else
ISALIAS=no
fi
-/etc/sysconfig/network-scripts/ifup-routes ${DEVICE}
-
if [ "$ISALIAS" = no ] ; then
/etc/sysconfig/network-scripts/ifup-aliases ${DEVICE}
fi
+/etc/sysconfig/network-scripts/ifup-routes ${DEVICE}
# don't set hostname on ppp/slip connections
if [ -n "$NEEDHOSTNAME" -a "${DEVICE}" != lo -a "${DEVICETYPE}" != "ppp" -a "${DEVICETYPE}" != "slip" ]; then