add traffic cmd

pull/128/head
BOYPT 6 years ago
parent ff7172c09a
commit 71b5740454
  1. 18
      v2ray.sh

@ -143,6 +143,13 @@ create_vmess_URL_config() {
EOF
fi
}
view_v2ray_traffic() {
_load v2ray-traffic.sh
echo
echo
v2_query_all
echo
}
view_v2ray_config_info() {
_load v2ray-info.sh
@ -2802,6 +2809,8 @@ _help() {
${green}v2ray update $none更新 V2Ray
${green}v2ray traffic $none查看 V2Ray 流量
${green}v2ray update.sh $none更新 V2Ray 管理脚本
${green}v2ray uninstall $none卸载 V2Ray
@ -2847,6 +2856,8 @@ menu() {
echo
echo -e "$yellow 11. $none其他"
echo
echo -e "$yellow 11. $none查看 V2ray 流量统计"
echo
echo -e "温馨提示...如果你不想执行选项...按$yellow Ctrl + C $none即可退出"
echo
read -p "$(echo -e "请选择菜单 [${magenta}1-9$none]:")" choose
@ -2900,6 +2911,10 @@ menu() {
other
break
;;
12)
view_v2ray_traffic
break
;;
*)
error
;;
@ -3030,6 +3045,9 @@ v | version)
bbr)
other
;;
traffic)
view_v2ray_traffic
;;
help | *)
_help
;;

Loading…
Cancel
Save