summaryrefslogtreecommitdiffstats
path: root/netconfig
diff options
context:
space:
mode:
authorDarren 'Tadgy' Austin <darren@afterdark.org.uk>2020-11-27 17:17:17 +0000
committerRobby Workman <rworkman@slackware.com>2021-02-27 23:47:58 -0600
commit97cb19aad5d4083b7c684b50609e90a927ebcd62 (patch)
treee45a6566ccc79b42b6ae5ffb7015181a1ed22ad5 /netconfig
parent6f3e85bf882ba7aecd823707b21631af3bc7aae8 (diff)
downloadslacknetsetup-97cb19aad5d4083b7c684b50609e90a927ebcd62.tar.xz
Allow exiting when in NetworkManager confirmation dialog.
Diffstat (limited to 'netconfig')
-rw-r--r--netconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/netconfig b/netconfig
index 03dc459..66eb682 100644
--- a/netconfig
+++ b/netconfig
@@ -977,10 +977,13 @@ elif [ "$LOOPBACK" = "yes" -a "$NETWORKMANAGER" = "yes" ]; then
system is now configured to use NetworkManager for
wired and wireless network management. To set up wireless networks
and view status, add the Network Management control panel widget to
-your KDE desktop.
+your desktop.
Is this correct? Press 'Yes' to confirm, or 'No' to reconfigure." 10 71
RETVAL=$?
+ if [ "$RETVAL" = "255" ]; then
+ exit
+ fi
elif [ "$USE_SLAAC" = "yes" ]; then
dialog --title "NETWORK SETUP COMPLETE" --yesno \
"Your system is now set up to autoconfigure an IPv6 IP address.