|
@ -170,9 +170,15 @@ fi |
|
|
#check for wireguard |
|
|
#check for wireguard |
|
|
if ! command -v wg &> /dev/null |
|
|
if ! command -v wg &> /dev/null |
|
|
then |
|
|
then |
|
|
|
|
|
echo "" |
|
|
echo "Cannot find wg" |
|
|
echo "Cannot find wg" |
|
|
echo "Install it and try again!" |
|
|
echo "Install it and try again!" |
|
|
echo "https://www.wireguard.com/install/" |
|
|
echo "https://www.wireguard.com/install/" |
|
|
|
|
|
echo "" |
|
|
|
|
|
echo "-----------USING UBUNTU------------" |
|
|
|
|
|
echo "" |
|
|
|
|
|
echo "sudo apt install wireguard" |
|
|
|
|
|
echo "" |
|
|
toolsok='no' |
|
|
toolsok='no' |
|
|
exit |
|
|
exit |
|
|
fi |
|
|
fi |
|
|