assume-breach 3 лет назад
Родитель
Сommit
a6cab7c0d6
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      DoubleVision/RPi3_4install.sh

+ 3 - 2
DoubleVision/RPi3_4install.sh

@@ -4,6 +4,9 @@ if [ "$(id -u)" != "0" ]; then
    echo "Run as Root" 1>&2
    exit 1
 fi
+
+sudo apt-get update -y && apt-get upgrade -y
+
 apt install npm -y
 
 git clone --depth 1 --recursive https://github.com/gildas-lormeau/SingleFile.git
@@ -20,8 +23,6 @@ chmod +x single-file
 
 cd ../../
 
-sudo apt-get update -y && apt-get upgrade -y
-
 sudo apt install tmux apache2 iptables php dnsmasq apache2 dnsmasq-base python hostapd mdk3 macchanger -y
 
 git clone https://github.com/adamff24/PwrDeauther.git