diff options
author | Bill Nottingham <notting@redhat.com> | 1999-05-25 21:04:11 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-05-25 21:04:11 +0000 |
commit | f9bc0e040589861d0a7cc91dc88cf836701462dd (patch) | |
tree | 997b495fb2bb300f437b36941fc530900e47b5b7 /rc.d/init.d/network | |
parent | 6bb3ecf770730916898a8de51de20e0653a577ed (diff) | |
download | initscripts-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/network')
-rwxr-xr-x | rc.d/init.d/network | 4 |
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 |