Skip to content

Commit

Permalink
Update list
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-uranium authored Aug 23, 2023
1 parent 2f1e50a commit ce03a48
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Install/list
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

_lvk=$(wget -qO- https://raw.githubusercontent.com/sons-of-liberty/DRAGON-VPS-MANAGER/main/Sistema/versao)
_lvk=$(wget -qO- https://raw.githubusercontent.com/mr-uranium/Vps_Management/main/Sistema/versao)
IP=$(wget -qO- ipv4.icanhazip.com)
IP2=$(wget -qO- http://whatismyip.akamai.com/)
[[ "$IP" != "$IP2" ]] && ipdovps="$IP2" || ipdovps="$IP"
Expand Down Expand Up @@ -39,12 +39,12 @@ _mdls=("addhost" "delhost" "alterarsenha" "criarusuario" "expcleaner" "mudardata
_mdls2=("onlineapp.sh")
for _arq in ${_mdls[@]}; do
[[ -e $_dir1/$_arq ]] && rm $_dir1/$_arq >/dev/null 2>&1
wget -c -P $_dir1 https://raw.githubusercontent.com/sons-of-liberty/DRAGON-VPS-MANAGER/main/Modulos/$_arq
wget -c -P $_dir1 https://raw.githubusercontent.com/mr-uranium/Vps_Management/main/Modulos/$_arq
chmod +x $_dir1/$_arq
done
for _arq in ${_mdls2[@]}; do
[[ -e $_dir3/$_arq ]] && rm $_dir3/$_arq >/dev/null 2>&1
wget -c -P $_dir3 https://raw.githubusercontent.com/sons-of-liberty/DRAGON-VPS-MANAGER/main/Modulos/$_arq
wget -c -P $_dir3 https://raw.githubusercontent.com/mr-uranium/Vps_Management/main/Modulos/$_arq
chmod +x $_dir3/$_arq
done
cd /var/www/html && mkdir server
Expand All @@ -69,7 +69,7 @@ clear
#AUTOMATIC START' >/etc/autostart
chmod +x /etc/autostart
} || {
[[ $(ps x | grep "bot_plus" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/sons-of-liberty/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
[[ $(ps x | grep "bot_plus" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/mr-uranium/Vps_Management/main/Install/ShellBot.sh
for proc in $(ps x | grep 'dmS' | grep -v 'grep' | awk {'print $1'}); do
screen -r -S "$proc" -X quit
done
Expand All @@ -80,7 +80,7 @@ clear
#AUTOMATIC START' >/etc/autostart
chmod +x /etc/autostart
} || {
[[ $(ps x | grep "bot_teste" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/sons-of-liberty/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
[[ $(ps x | grep "bot_teste" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/mr-uranium/Vps_Management/main/Install/ShellBot.sh
for proc in $(ps x | grep 'dmS' | grep -v 'grep' | awk {'print $1'}); do
screen -r -S "$proc" -X quit
done
Expand All @@ -91,7 +91,7 @@ clear
#AUTOMATIC START' >/etc/autostart
chmod +x /etc/autostart
} || {
[[ $(ps x | grep "bot_gen" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/sons-of-liberty/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
[[ $(ps x | grep "bot_gen" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/mr-uranium/Vps_Management/main/Install/ShellBot.sh
for proc in $(ps x | grep 'dmS' | grep -v 'grep' | awk {'print $1'}); do
screen -r -S "$proc" -X quit
done
Expand All @@ -112,7 +112,7 @@ crontab -r >/dev/null 2>&1
echo "*/1 * * * * cd /root/ && ./onlineapp.sh"
) | crontab -
echo "$_lvk" | sed -n '1 p' | cut -d' ' -f2 >/bin/versao && cat /bin/versao >/home/vpsmanager
wget https://github.com/sons-of-liberty/DRAGON-VPS-MANAGER/raw/main/Install/jq-linux64 >/dev/null 2>&1
wget https://github.com/mr-uranium/Vps_Management/raw/main/Install/jq-linux64 >/dev/null 2>&1
chmod +x jq-linux64 && mv jq-linux64 $(which jq)
service cron restart >/dev/null 2>&1
service ssh restart >/dev/null 2>&1
Expand Down

0 comments on commit ce03a48

Please sign in to comment.