aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-05-25 21:04:11 +0000
committerBill Nottingham <notting@redhat.com>1999-05-25 21:04:11 +0000
commitf9bc0e040589861d0a7cc91dc88cf836701462dd (patch)
tree997b495fb2bb300f437b36941fc530900e47b5b7 /rc.d/init.d
parent6bb3ecf770730916898a8de51de20e0653a577ed (diff)
downloadinitscripts-f9bc0e040589861d0a7cc91dc88cf836701462dd.tar
initscripts-f9bc0e040589861d0a7cc91dc88cf836701462dd.tar.gz
initscripts-f9bc0e040589861d0a7cc91dc88cf836701462dd.tar.bz2
initscripts-f9bc0e040589861d0a7cc91dc88cf836701462dd.tar.xz
initscripts-f9bc0e040589861d0a7cc91dc88cf836701462dd.zip
don't run ipx_internal_net if both params are 0
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/network4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 685cf1ad..c517ac83 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -83,7 +83,9 @@ case "$1" in
yes|true)
/sbin/ipx_configure --auto_primary=$IPXAUTOPRIMARY \
--auto_interface=$IPXAUTOFRAME
- /sbin/ipx_internal_net add $IPXINTERNALNETNUM $IPXINTERNALNODENUM
+ if [ "$IPXINTERNALNETNUM" != "0" -o "$IPXINTERNALNODENUM" != "0" ]; then
+ /sbin/ipx_internal_net add $IPXINTERNALNETNUM $IPXINTERNALNODENUM
+ fi
;;
esac