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
10
x-ui.sh
10
x-ui.sh
|
|
@ -863,7 +863,7 @@ delete_ports() {
|
|||
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 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
|
||||
|
|
@ -908,9 +908,9 @@ update_geo() {
|
|||
restart
|
||||
;;
|
||||
4)
|
||||
update_all_geo
|
||||
update_all_geofiles
|
||||
|
||||
echo -e "${green}All geofiles have been updated successfully!${plain}"
|
||||
echo -e "${green}All geo files have been updated successfully!${plain}"
|
||||
restart
|
||||
;;
|
||||
*)
|
||||
|
|
@ -1884,7 +1884,7 @@ show_usage() {
|
|||
│ ${blue}x-ui log${plain} - Check logs │
|
||||
│ ${blue}x-ui banlog${plain} - Check Fail2ban ban logs │
|
||||
│ ${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 install${plain} - Install │
|
||||
│ ${blue}x-ui uninstall${plain} - Uninstall │
|
||||
|
|
@ -2059,7 +2059,7 @@ if [[ $# > 0 ]]; then
|
|||
check_install 0 && uninstall 0
|
||||
;;
|
||||
"update-all-geofiles")
|
||||
check_install 0 && update_all_geo 0 && restart 0
|
||||
check_install 0 && update_all_geofiles 0 && restart 0
|
||||
;;
|
||||
*) show_usage ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue