Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 24, 2022
1 parent 14e9d76 commit 8a3124e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ echo "Script Already Installed"
exit 0
fi
mkdir /var/lib/akbarstorevpn;
#echo "IP=" >> /var/lib/akbarstorevpn/ipvps.conf
echo "IP=" >> /var/lib/akbarstorevpn/ipvps.conf
wget https://${akbarvpn}/cf.sh && chmod +x cf.sh && ./cf.sh
#install v2ray
wget https://${akbarvpnnnnnn}/ins-xray.sh && chmod +x ins-xray.sh && screen -S xray ./ins-xray.sh
Expand Down
5 changes: 2 additions & 3 deletions xray/ins-xray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ chmod +x /usr/local/bin/xray
mkdir -p /var/log/xray/

cd /root/
source /var/lib/akbarstorevpn/ipvps.conf
domain=$IP
domain=$(cat /etc/xray/domain)
wget https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh
bash acme.sh --install
rm acme.sh
Expand Down Expand Up @@ -504,4 +503,4 @@ systemctl enable trojan-go
systemctl restart trojan-go

cd
cp /root/domain /etc/xray
cp /root/domain /etc/xray

0 comments on commit 8a3124e

Please sign in to comment.