mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2024-07-17 00:00:33 +02:00
Remove clear screen
This commit is contained in:
parent
5f18c2dbd7
commit
ddd59ec95e
@ -129,7 +129,7 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y wget
|
apt-get install -y wget
|
||||||
fi
|
fi
|
||||||
clear
|
echo
|
||||||
echo 'Welcome to this OpenVPN road warrior installer!'
|
echo 'Welcome to this OpenVPN road warrior installer!'
|
||||||
# If system has a single IPv4, it is selected automatically. Else, ask the user
|
# If system has a single IPv4, it is selected automatically. Else, ask the user
|
||||||
if [[ $(ip -4 addr | grep inet | grep -vEc '127(\.[0-9]{1,3}){3}') -eq 1 ]]; then
|
if [[ $(ip -4 addr | grep inet | grep -vEc '127(\.[0-9]{1,3}){3}') -eq 1 ]]; then
|
||||||
@ -459,7 +459,7 @@ verb 3" > /etc/openvpn/server/client-common.txt
|
|||||||
echo "The client configuration is available in:" ~/"$client.ovpn"
|
echo "The client configuration is available in:" ~/"$client.ovpn"
|
||||||
echo "New clients can be added by running this script again."
|
echo "New clients can be added by running this script again."
|
||||||
else
|
else
|
||||||
clear
|
echo
|
||||||
echo "OpenVPN is already installed."
|
echo "OpenVPN is already installed."
|
||||||
echo
|
echo
|
||||||
echo "Select an option:"
|
echo "Select an option:"
|
||||||
|
Loading…
Reference in New Issue
Block a user