mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-15 04:05:29 +00:00
commit
920a238ea1
@ -39,7 +39,7 @@ INSTALL_DIR="/usr/share/doc/hackingtool"
|
|||||||
BIN_DIR="/usr/bin/"
|
BIN_DIR="/usr/bin/"
|
||||||
if [ $choice == 1 ]; then
|
if [ $choice == 1 ]; then
|
||||||
echo "[*] Checking Internet Connection .."
|
echo "[*] Checking Internet Connection .."
|
||||||
wget -q --tries=10 --timeout=20 --spider http://google.com
|
wget -q --tries=10 --timeout=20 --spider https://google.com
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
echo -e ${BLUE}"[✔] Loading ... "
|
echo -e ${BLUE}"[✔] Loading ... "
|
||||||
sudo apt-get update && apt-get upgrade
|
sudo apt-get update && apt-get upgrade
|
||||||
|
Loading…
Reference in New Issue
Block a user