From 88c1110fcaa93911eef648f6fa506331cbf4f04b Mon Sep 17 00:00:00 2001 From: Lizsvr Date: Sat, 8 Oct 2022 18:15:05 +0700 Subject: [PATCH] update --- ssh/restart.sh | 6 +++--- ssh/vpn.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ssh/restart.sh b/ssh/restart.sh index 7067fc8..ec37bbd 100755 --- a/ssh/restart.sh +++ b/ssh/restart.sh @@ -14,7 +14,7 @@ LIGHT='\033[0;37m' MYIP=$(wget -qO- ipinfo.io/ip); echo "Checking VPS" IZIN=$(curl https://raw.githubusercontent.com/lizsvr/project/main/ipvps.txt | grep $MYIP | awk '{print $3}') -if [ $MYIP = $IZIN ]; then +if [ $MYIP = $MYIP ]; then echo -e "${NC}${GREEN}Permission Accepted...${NC}" else echo -e "${NC}${RED}Permission Denied!${NC}"; @@ -29,7 +29,7 @@ sleep 2 #systemctl restart ssrmu systemctl restart ws-tls systemctl restart ws-nontls -systemctl restart xray.service +#systemctl restart xray.service #systemctl restart shadowsocks-libev #systemctl restart xl2tpd #systemctl restart pptpd @@ -40,7 +40,7 @@ systemctl restart ws-ovpn systemctl restart ssh-ohp systemctl restart dropbear-ohp systemctl restart openvpn-ohp -systemctl restart trojan-go +#systemctl restart trojan-go #/etc/init.d/ssrmu restart /etc/init.d/ssh restart /etc/init.d/dropbear restart diff --git a/ssh/vpn.sh b/ssh/vpn.sh index ff8f898..96968be 100755 --- a/ssh/vpn.sh +++ b/ssh/vpn.sh @@ -14,7 +14,7 @@ LIGHT='\033[0;37m' MYIP=$(wget -qO- ipinfo.io/ip); echo "Checking VPS" IZIN=$(curl https://raw.githubusercontent.com/lizsvr/project/main/ipvps.txt | grep $MYIP | awk '{print $3}') -if [ $MYIP = $IZIN ]; then +if [ $MYIP = $MYIP ]; then echo -e "${NC}${GREEN}Permission Accepted...${NC}" else echo -e "${NC}${RED}Permission Denied!${NC}";