Răsfoiți Sursa

Update InstallMe.sh

assume-breach 3 ani în urmă
părinte
comite
4507ba41c2
1 a modificat fișierele cu 4 adăugiri și 5 ștergeri
  1. 4 5
      DoubleVision/InstallMe.sh

+ 4 - 5
DoubleVision/InstallMe.sh

@@ -1,14 +1,13 @@
 #!/bin/sh -e
 #!/bin/sh -e
 
 
-if [ "$(id -u)" != "0" ]; then
-   echo "Run As Root!" 1>&2
+if [ "$(id -u)" != "1000" ]; then
+   echo "Run as Pi! Not Root" 1>&2
    exit 1
    exit 1
 fi
 fi
 
 
-apt-get update -y && apt-get upgrade -y
-
-apt install tmux apache2 iptables git npm php dnsmasq apache2 dnsmasq-base python hostapd mdk3 macchanger -y
+sudo apt-get update -y && apt-get upgrade -y
 
 
+sudo apt install tmux apache2 iptables git npm php dnsmasq apache2 dnsmasq-base python hostapd mdk3 macchanger -y
 
 
 git clone https://github.com/adamff24/PwrDeauther.git
 git clone https://github.com/adamff24/PwrDeauther.git