Temporary vpn tls port
This commit is contained in:
parent
3c9ca52c77
commit
9122145f1e
|
@ -75,10 +75,14 @@ function install_interactive_vpn {
|
||||||
do
|
do
|
||||||
data=$(tempfile 2>/dev/null)
|
data=$(tempfile 2>/dev/null)
|
||||||
trap "rm -f $data" 0 1 2 5 15
|
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" \
|
dialog --backtitle $"Freedombone Configuration" \
|
||||||
--title $"VPN 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 \
|
--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
|
2> $data
|
||||||
sel=$?
|
sel=$?
|
||||||
case $sel in
|
case $sel in
|
||||||
|
|
Loading…
Reference in New Issue