Skip to content
Snippets Groups Projects
Commit dc4e2405 authored by Bob Mottram's avatar Bob Mottram
Browse files

Return on cancel

parent ae4f3662
No related branches found
No related tags found
No related merge requests found
......@@ -1271,6 +1271,7 @@ function set_dynamic_IP {
case $sel in
0) revert_to_dynamic=1
;;
1) return;;
esac
if [ $revert_to_dynamic ]; then
......@@ -1315,6 +1316,7 @@ Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_
return
fi
;;
1) return;;
esac
# get the gateway
......@@ -1330,6 +1332,7 @@ Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_
return
fi
;;
1) return;;
esac
if [[ "$NEW_STATIC_GATEWAY" == *"."* && "$NEW_STATIC_IP" == *"."* ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment