Improve grammar and spelling
This commit is contained in:
parent
13b02452f8
commit
348608c2b4
@ -11,7 +11,7 @@ if readlink /proc/$$/exe | grep -q "dash"; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Discard stdin. Needed when running from an one-liner which includes a newline
|
# Discard stdin. Needed when running from a one-liner which includes a newline
|
||||||
read -N 999999 -t 0.001
|
read -N 999999 -t 0.001
|
||||||
|
|
||||||
# Detect OS
|
# Detect OS
|
||||||
@ -175,7 +175,7 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echo
|
echo
|
||||||
echo "What port should OpenVPN listen to?"
|
echo "What port should OpenVPN listen on?"
|
||||||
read -p "Port [1194]: " port
|
read -p "Port [1194]: " port
|
||||||
until [[ -z "$port" || "$port" =~ ^[0-9]+$ && "$port" -le 65535 ]]; do
|
until [[ -z "$port" || "$port" =~ ^[0-9]+$ && "$port" -le 65535 ]]; do
|
||||||
echo "$port: invalid port."
|
echo "$port: invalid port."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user