diff options
author | Bill Nottingham <notting@redhat.com> | 2003-05-28 18:53:50 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-05-28 18:53:50 +0000 |
commit | e956fb172d00dc564cc50f2a33a0feb9ddd53839 (patch) | |
tree | 8316038834ff51a4d745dd867b4535ca94ea94b5 /sysconfig/network-scripts/ifup-post | |
parent | 515094b273406277de12adc648846435e27ce389 (diff) | |
download | initscripts-e956fb172d00dc564cc50f2a33a0feb9ddd53839.tar initscripts-e956fb172d00dc564cc50f2a33a0feb9ddd53839.tar.gz initscripts-e956fb172d00dc564cc50f2a33a0feb9ddd53839.tar.bz2 initscripts-e956fb172d00dc564cc50f2a33a0feb9ddd53839.tar.xz initscripts-e956fb172d00dc564cc50f2a33a0feb9ddd53839.zip |
- 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
(<harald@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-x | sysconfig/network-scripts/ifup-post | 3 |
1 files changed, 1 insertions, 2 deletions
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 |