mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 15:50:09 +01:00
fix
This commit is contained in:
parent
798a0bb62c
commit
3af374f6f5
@ -323,9 +323,13 @@ function installQuestions() {
|
||||
$LAN_SUBNET_MASK = "255.255.255.0"
|
||||
;;
|
||||
2)
|
||||
until [[ $LAN_IP =~ "" ]]; do
|
||||
read -rp "IP NETWORK (e.g. 192.168.4.0): " -e -i 1 LAN_IP
|
||||
done
|
||||
echo "NETWORK SET TO $LAN_IP"
|
||||
until [[ $LAN_SUBNET_MASK =~ "" ]]; do
|
||||
read -rp "SUBNET (e.g. 255.255.255.0) : " -e -i 1 LAN_SUBNET_MASK
|
||||
done
|
||||
echo "SUBNET SET TO $LAN_SUBNET_MASK"
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user