fix choices

This commit is contained in:
Alessandro Partesotti 2023-04-24 18:32:35 +02:00
parent f0a23586d3
commit 7405cc3d65

View File

@ -325,9 +325,12 @@ function installQuestions() {
;; ;;
2) 2)
read -rp "IP NETWORK (e.g. 192.168.4.0): " -e -i 1 LAN_IP read -rp "IP NETWORK (e.g. 192.168.4.0): " -e -i 1 LAN_IP
echo "NETWORK SET TO $LAN_IP"
read -rp "SUBNET (e.g. 255.255.255.0) : " -e -i 1 LAN_SUBNET_MASK read -rp "SUBNET (e.g. 255.255.255.0) : " -e -i 1 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)"