summaryrefslogtreecommitdiffstats
path: root/netconfig
diff options
context:
space:
mode:
Diffstat (limited to 'netconfig')
-rw-r--r--netconfig12
1 files changed, 8 insertions, 4 deletions
diff --git a/netconfig b/netconfig
index 71b267b..03dc459 100644
--- a/netconfig
+++ b/netconfig
@@ -636,6 +636,7 @@ else
fi
if [ "$LOOPBACK" = "no" -a ! "$USE_DHCP" = "yes" -a ! "$USE_SLAAC" = "yes" ]; then
+# FIXME: need to check the logic in these:
while [ 0 ]; do
while [ 0 ]; do
if [ -r $TMP/SeTIPSv4 ]; then
@@ -962,12 +963,15 @@ if [ "$LOOPBACK" = "yes" -a ! "$NETWORKMANAGER" = "yes" ]; then
dialog --title "NETWORK SETUP COMPLETE" --yesno "Your networking \
system is now configured to use loopback:
-IP address: 127.0.0.1
-Netmask: 255.255.255.0
+IP addresses: 127.0.0.1/8 ::1/128
-Is this correct? Press 'Yes' to continue, or 'No' to reconfigure." 10 70
+Is this correct? Press 'Yes' to continue, or 'No' to reconfigure." 9 70
RETVAL=$?
-# FIXME: Need to actually set IPADDRS=127.0.0.1/8 here
+ if [ "$RETVAL" = "255" ]; then
+ exit
+ fi
+ IPADDRS=( 127.0.0.1/8 )
+ IP6ADDRS=( ::1/128 )
elif [ "$LOOPBACK" = "yes" -a "$NETWORKMANAGER" = "yes" ]; then
dialog --title "NETWORK SETUP COMPLETE" --yesno "Your networking \
system is now configured to use NetworkManager for