mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-06-01 03:00:47 +00:00
minor fix
This commit is contained in:
parent
3c1ce0e53a
commit
99b6c757a5
|
@ -117,9 +117,8 @@ function installQuestions() {
|
||||||
done
|
done
|
||||||
|
|
||||||
#Allowed IPs
|
#Allowed IPs
|
||||||
until [[ ${ALLOWED_IPS} =~ ^.*$ ]]; do
|
until [[ ${ALLOWED_IPS} =~ ^.+$ ]]; do
|
||||||
read -rp "Allowed IPs list:
|
read -rp "Allowed IPs list: " -e -i '0.0.0.0/0, ::/0, 128.0.0.0/1' ALLOWED_IPS
|
||||||
" -e -i "0.0.0.0/0, ::/0, 128.0.0.0/1" ALLOWED_IPS
|
|
||||||
if [[ ${ALLOWED_IPS} == "" ]]; then
|
if [[ ${ALLOWED_IPS} == "" ]]; then
|
||||||
ALLOWED_IPS="0.0.0.0/0, ::/0, 128.0.0.0/1"
|
ALLOWED_IPS="0.0.0.0/0, ::/0, 128.0.0.0/1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user