mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
text fixes
This commit is contained in:
parent
949735c849
commit
b3642215d3
1 changed files with 5 additions and 5 deletions
8
x-ui.sh
8
x-ui.sh
|
|
@ -863,7 +863,7 @@ delete_ports() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
update_all_geo() {
|
update_all_geofiles() {
|
||||||
wget -O geoip.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
|
wget -O geoip.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
|
||||||
wget -O geosite.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
|
wget -O geosite.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
|
||||||
wget -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
|
wget -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
|
||||||
|
|
@ -908,7 +908,7 @@ update_geo() {
|
||||||
restart
|
restart
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
update_all_geo
|
update_all_geofiles
|
||||||
|
|
||||||
echo -e "${green}All geo files have been updated successfully!${plain}"
|
echo -e "${green}All geo files have been updated successfully!${plain}"
|
||||||
restart
|
restart
|
||||||
|
|
@ -1884,7 +1884,7 @@ show_usage() {
|
||||||
│ ${blue}x-ui log${plain} - Check logs │
|
│ ${blue}x-ui log${plain} - Check logs │
|
||||||
│ ${blue}x-ui banlog${plain} - Check Fail2ban ban logs │
|
│ ${blue}x-ui banlog${plain} - Check Fail2ban ban logs │
|
||||||
│ ${blue}x-ui update${plain} - Update │
|
│ ${blue}x-ui update${plain} - Update │
|
||||||
│ ${blue}x-ui update-all-geofiles${plain} - Update GEO files │
|
│ ${blue}x-ui update-all-geofiles${plain} - Update all geo files │
|
||||||
│ ${blue}x-ui legacy${plain} - Legacy version │
|
│ ${blue}x-ui legacy${plain} - Legacy version │
|
||||||
│ ${blue}x-ui install${plain} - Install │
|
│ ${blue}x-ui install${plain} - Install │
|
||||||
│ ${blue}x-ui uninstall${plain} - Uninstall │
|
│ ${blue}x-ui uninstall${plain} - Uninstall │
|
||||||
|
|
@ -2059,7 +2059,7 @@ if [[ $# > 0 ]]; then
|
||||||
check_install 0 && uninstall 0
|
check_install 0 && uninstall 0
|
||||||
;;
|
;;
|
||||||
"update-all-geofiles")
|
"update-all-geofiles")
|
||||||
check_install 0 && update_all_geo 0 && restart 0
|
check_install 0 && update_all_geofiles 0 && restart 0
|
||||||
;;
|
;;
|
||||||
*) show_usage ;;
|
*) show_usage ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue