diff options
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 8 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-ipx | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 18505370..a0675948 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -173,10 +173,8 @@ if [ "$IPSETUP" != yes ]; then fi fi -case $CONFIG in - eth*) - /etc/sysconfig/network-scripts/ifup-ipx $CONFIG - ;; -esac +if [ "$IPX" = yes ]; then + /etc/sysconfig/network-scripts/ifup-ipx $DEVICE +fi exec /etc/sysconfig/network-scripts/ifup-post $CONFIG diff --git a/sysconfig/network-scripts/ifup-ipx b/sysconfig/network-scripts/ifup-ipx index b04fda67..848af535 100755 --- a/sysconfig/network-scripts/ifup-ipx +++ b/sysconfig/network-scripts/ifup-ipx @@ -22,6 +22,7 @@ cd /etc/sysconfig/network-scripts . network-functions CONFIG=$1 +[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG source_config for frametype in 802_2 802_3 ETHERII SNAP ; do |