Skip to content

Commit

Permalink
to install 11.1 if the latest version did not work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
RadKesvat committed Jun 28, 2023
1 parent 2c67c59 commit 1b1cdd0
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions install_11.1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
# echo nameserver 8.8.8.8 | sudo tee /etc/resolv.conf

apt-get update -y

REQUIRED_PKG="unzip"
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $REQUIRED_PKG|grep "install ok installed")
echo Checking for $REQUIRED_PKG: $PKG_OK
if [ "" = "$PKG_OK" ]; then
echo "Setting up $REQUIRED_PKG."
sudo apt-get --yes install $REQUIRED_PKG
fi

REQUIRED_PKG="wget"
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $REQUIRED_PKG|grep "install ok installed")
echo Checking for $REQUIRED_PKG: $PKG_OK
if [ "" = "$PKG_OK" ]; then
echo "Setting up $REQUIRED_PKG."
sudo apt-get --yes install $REQUIRED_PKG
fi

pkill FTT
printf "\n"
printf "\n"


echo "downloading FakeTlsTunnel"

printf "\n"



wget "https://github.com/radkesvat/FakeTlsTunnel/releases/download/V11.1/v11.1_linux_amd64.zip" -O v11.1_linux_amd64.zip
unzip -o v11.1_linux_amd64.zip
chmod +x FTT
rm v11.1_linux_amd64.zip

echo "finished."

printf "\n"

0 comments on commit 1b1cdd0

Please sign in to comment.