Return on cancel
This commit is contained in:
parent
ae4f366299
commit
dc4e2405db
|
@ -1271,6 +1271,7 @@ function set_dynamic_IP {
|
||||||
case $sel in
|
case $sel in
|
||||||
0) revert_to_dynamic=1
|
0) revert_to_dynamic=1
|
||||||
;;
|
;;
|
||||||
|
1) return;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ $revert_to_dynamic ]; then
|
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
|
return
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
1) return;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# get the gateway
|
# get the gateway
|
||||||
|
@ -1330,6 +1332,7 @@ Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
1) return;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ "$NEW_STATIC_GATEWAY" == *"."* && "$NEW_STATIC_IP" == *"."* ]]; then
|
if [[ "$NEW_STATIC_GATEWAY" == *"."* && "$NEW_STATIC_IP" == *"."* ]]; then
|
||||||
|
|
Loading…
Reference in New Issue