Temporary vpn tls port
This commit is contained in:
parent
3c9ca52c77
commit
9122145f1e
|
@ -75,10 +75,14 @@ function install_interactive_vpn {
|
|||
do
|
||||
data=$(tempfile 2>/dev/null)
|
||||
trap "rm -f $data" 0 1 2 5 15
|
||||
currtlsport=$(grep 'VPN_TLS_PORT' temp.cfg | awk -F '=' '{print $2}')
|
||||
if [ $currtlsport ]; then
|
||||
VPN_TLS_PORT=$currtlsport
|
||||
fi
|
||||
dialog --backtitle $"Freedombone Configuration" \
|
||||
--title $"VPN Configuration" \
|
||||
--form $"\nPlease enter your VPN details. Changing the port to 443 will help defend against censorship but will prevent other web apps from running." 12 65 1 \
|
||||
$"TLS port:" 1 1 "$(grep 'VPN_TLS_PORT' temp.cfg | awk -F '=' '{print $2}')" 1 12 4 4 \
|
||||
$"TLS port:" 1 1 "$VPN_TLS_PORT" 1 12 4 4 \
|
||||
2> $data
|
||||
sel=$?
|
||||
case $sel in
|
||||
|
|
Loading…
Reference in New Issue