summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netconfig21
1 files changed, 6 insertions, 15 deletions
diff --git a/netconfig b/netconfig
index 5d4ac5b..96daef5 100644
--- a/netconfig
+++ b/netconfig
@@ -693,34 +693,25 @@ Valid net masks will be in the range 1-32." 6 65
If you don't have an IPv4 gateway on your network leave it blank
or select 'Skip'.
-Enter IPv4 gateway address:" 14 68 "$GATEWAY" 2> $TMP/SeTgate4
+Enter IPv4 gateway address:" 14 68 "$GATEWAY" 2> $TMP/SeTgateway4
if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTgate4
+ rm -f $TMP/SeTgateway4
exit
fi
- GATEWAY="`cat $TMP/SeTgate4`"
- rm -f $TMP/SeTgate4
+ GATEWAY="`cat $TMP/SeTgateway4`"
+ rm -f $TMP/SeTgateway4
if [ "$GATEWAY" = "" ]; then
- echo > $TMP/SeTgateway4
+ #echo > $TMP/SeTgateway4
break
- else
- echo "$GATEWAY" >$TMP/SeTgateway4
fi
syntax_check_v4 "$GATEWAY" 4 WARN
if [ $? = 0 ]; then
- echo $GATEWAY > $TMP/SeTgateway4
break
fi
done
+ rm -f $TMP/SeTgateway4
fi
-
-
-
-
-
-
-
while [ 0 ]; do
if [ -r $TMP/SeTIP6 ]; then
IPADDR6="`cat $TMP/SeTIP6`"