From e956fb172d00dc564cc50f2a33a0feb9ddd53839 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 28 May 2003 18:53:50 +0000 Subject: - make usernetctl use the nickname instead of the device name - don't look in /etc/sysconfig/networking - fix calling of nameif before the device was loaded - clean up route handling () --- sysconfig/network-scripts/ifup-post | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysconfig/network-scripts/ifup-post') diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post index 2fbafbfb..c6e9062b 100755 --- a/sysconfig/network-scripts/ifup-post +++ b/sysconfig/network-scripts/ifup-post @@ -4,7 +4,6 @@ cd /etc/sysconfig/network-scripts . network-functions [ -f ../network ] && . ../network -[ -f ../networking/network ] && . ../networking/network CONFIG=$1 source_config @@ -21,7 +20,7 @@ if [ "$ISALIAS" = no ] ; then /etc/sysconfig/network-scripts/ifup-aliases ${DEVICE} ${CONFIG} fi -/etc/sysconfig/network-scripts/ifup-routes ${DEVICE} ${NAME} +/etc/sysconfig/network-scripts/ifup-routes ${DEVICE} ${DEVNAME} if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ]; then -- cgit