dialog --backtitle"$BACKTITLE"--no-label" Back "--yes-label" Import "--title" VPN "--yesno"\nVPN configuration was not found.\n\nPlace file to /etc/server.vpn" 9 45
dialog --backtitle"$BACKTITLE"--no-label" Cancel "--yes-label" Import "--title" VPN "--yesno"\nVPN configuration was not found.\n\nPlace file to /etc/server.vpn" 9 45
dialog --title"VPN client is connected to $VPNSERVERIP"--colors--backtitle"$BACKTITLE"--help-button--help-label"Back"--yes-label"Stop"--no-label" Import "--yesno"\n\Z1Stop: \Z0 stop\n\n\Z1Import:\Z0 import new config from /etc/armbian.vpn" 9 70
dialog --title"VPN client is connected to $VPNSERVERIP"--colors--backtitle"$BACKTITLE"--help-button--help-label"Cancel"--yes-label"Stop"--no-label" Import "--yesno"\n\Z1Stop: \Z0 stop\n\n\Z1Import:\Z0 import new config from /etc/armbian.vpn" 9 70
fi
fi
response=$?
response=$?
if[[$response= 0 ]];then
if[[$response= 0 ]];then
...
@@ -521,7 +521,7 @@ function jobs ()
...
@@ -521,7 +521,7 @@ function jobs ()
${VPNDIR}vpnclient stop >/dev/null 2>&1
${VPNDIR}vpnclient stop >/dev/null 2>&1
fi
fi
else
else
dialog --title"VPN client is disconnected"--colors--backtitle"$BACKTITLE"--help-button--help-label"Back"--yes-label"Connect"--no-label" Import "--yesno"\n\Z1Connect:\Z0 Connect with your VPN server \n\n\Z1Import:\Z0 import new config from /etc/armbian.vpn" 9 70
dialog --title"VPN client is disconnected"--colors--backtitle"$BACKTITLE"--help-button--help-label"Cancel"--yes-label"Connect"--no-label" Import "--yesno"\n\Z1Connect:\Z0 Connect with your VPN server \n\n\Z1Import:\Z0 import new config from /etc/armbian.vpn" 9 70
response=$?
response=$?
if[[$response= 0 ]];then
if[[$response= 0 ]];then
${VPNDIR}vpnclient start >/dev/null 2>&1
${VPNDIR}vpnclient start >/dev/null 2>&1
...
@@ -542,7 +542,7 @@ function jobs ()
...
@@ -542,7 +542,7 @@ function jobs ()
# Connect to Bluetooth
# Connect to Bluetooth
#
#
"Discover")
"BT discover")
dialog --backtitle"$BACKTITLE"--title" Bluetooth "--msgbox"\nMake sure your Bluetooth devices are discoverable!" 7 54
dialog --backtitle"$BACKTITLE"--title" Bluetooth "--msgbox"\nMake sure your Bluetooth devices are discoverable!" 7 54