aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-04-06 21:32:22 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-04-06 21:32:22 +0000
commit29916889e01a5485c9401a6f99426b07b901fb04 (patch)
tree9339518decdecd37f9060861c3097be4feeaa644 /sysconfig
parent9807a2372261c9f27e53c208ac81e0a2db5e53fe (diff)
downloadinitscripts-29916889e01a5485c9401a6f99426b07b901fb04.tar
initscripts-29916889e01a5485c9401a6f99426b07b901fb04.tar.gz
initscripts-29916889e01a5485c9401a6f99426b07b901fb04.tar.bz2
initscripts-29916889e01a5485c9401a6f99426b07b901fb04.tar.xz
initscripts-29916889e01a5485c9401a6f99426b07b901fb04.zip
ifup-ipx ./_ confusion fixed
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-ipx b/sysconfig/network-scripts/ifup-ipx
index b77ff3e8..9a9f6137 100755
--- a/sysconfig/network-scripts/ifup-ipx
+++ b/sysconfig/network-scripts/ifup-ipx
@@ -28,14 +28,15 @@ for frametype in 802.2 802.3 ETHERII SNAP ; do
# Yes, this kind of evaluation is really necessary to do this.
# Welcome to shell programming... No, we were not smoking some
# particularly good floppies while we wrote this. :-)
- case $(eval echo $(echo \$`echo IPXACTIVE_$frametype`)) in
+ framename=$(echo $frametype | sed 's/\./_/')
+ case $(eval echo $(echo \$`echo IPXACTIVE_$framename`)) in
yes|true)
- case $(eval echo $(echo \$`echo IPXPRIMARY_$frametype`)) in
+ case $(eval echo $(echo \$`echo IPXPRIMARY_$framename`)) in
yes|true) primary=-p ;;
*) primary= ;;
esac
/usr/bin/ipx_interface add $1 $primary $frametype \
- $(eval echo $(echo \$`echo IPXNETNUM_$frametype`))
+ $(eval echo $(echo \$`echo IPXNETNUM_$framename`))
;;
esac
done