Return on cancel
This commit is contained in:
parent
ae4f366299
commit
dc4e2405db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue