aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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