mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
minor fix
This commit is contained in:
parent
3c1ce0e53a
commit
99b6c757a5
1 changed files with 2 additions and 3 deletions
|
@ -117,9 +117,8 @@ function installQuestions() {
|
|||
done
|
||||
|
||||
#Allowed IPs
|
||||
until [[ ${ALLOWED_IPS} =~ ^.*$ ]]; do
|
||||
read -rp "Allowed IPs list:
|
||||
" -e -i "0.0.0.0/0, ::/0, 128.0.0.0/1" ALLOWED_IPS
|
||||
until [[ ${ALLOWED_IPS} =~ ^.+$ ]]; do
|
||||
read -rp "Allowed IPs list: " -e -i '0.0.0.0/0, ::/0, 128.0.0.0/1' ALLOWED_IPS
|
||||
if [[ ${ALLOWED_IPS} == "" ]]; then
|
||||
ALLOWED_IPS="0.0.0.0/0, ::/0, 128.0.0.0/1"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue