mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-03 08:46:18 +00:00
Update x-ui.sh
This commit is contained in:
parent
2c28023f50
commit
02fbbe2af3
1 changed files with 4 additions and 2 deletions
6
x-ui.sh
6
x-ui.sh
|
@ -520,8 +520,10 @@ update_geo() {
|
||||||
systemctl stop x-ui
|
systemctl stop x-ui
|
||||||
cd ${binFolder}
|
cd ${binFolder}
|
||||||
rm -f geoip.dat geosite.dat iran.dat
|
rm -f geoip.dat geosite.dat iran.dat
|
||||||
wget -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
|
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
|
||||||
wget -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
|
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
|
||||||
|
wget -O geoip_ch.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
|
||||||
|
wget -O geosite_ch.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
|
||||||
wget -N https://github.com/MasterKia/iran-hosted-domains/releases/latest/download/iran.dat
|
wget -N https://github.com/MasterKia/iran-hosted-domains/releases/latest/download/iran.dat
|
||||||
systemctl start x-ui
|
systemctl start x-ui
|
||||||
echo -e "${green}Geosite.dat + Geoip.dat + Iran.dat have been updated successfully in bin folder '${binfolder}'!${plain}"
|
echo -e "${green}Geosite.dat + Geoip.dat + Iran.dat have been updated successfully in bin folder '${binfolder}'!${plain}"
|
||||||
|
|
Loading…
Reference in a new issue