choice fix

This commit is contained in:
Alessandro Partesotti 2023-04-24 18:47:02 +02:00
parent 6741de1018
commit 9deb44a224

View File

@ -310,7 +310,6 @@ function installQuestions() {
PROTOCOL="tcp" PROTOCOL="tcp"
;; ;;
esac esac
until [[ $LAN_IP =~ "" ]]; do
echo "Do wou want to specify a custom LAN network an subnet?" echo "Do wou want to specify a custom LAN network an subnet?"
echo " 1) NO (will use 10.8.0.0 and 255.255.255.0)" echo " 1) NO (will use 10.8.0.0 and 255.255.255.0)"
@ -330,7 +329,6 @@ function installQuestions() {
echo "SUBNET SET TO $LAN_SUBNET_MASK" echo "SUBNET SET TO $LAN_SUBNET_MASK"
;; ;;
esac esac
done
echo "" echo ""
echo "What DNS resolvers do you want to use with the VPN?" echo "What DNS resolvers do you want to use with the VPN?"
echo " 1) Current system resolvers (from /etc/resolv.conf)" echo " 1) Current system resolvers (from /etc/resolv.conf)"