sync time: v2ray time

This commit is contained in:
233boy
2018-11-25 11:39:45 +08:00
parent b361a420e2
commit 5871d57acb
2 changed files with 8 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v2.45"
_version="v2.46"
cmd="apt-get"
@@ -3793,6 +3793,9 @@ reload)
view_v2ray_config_info
download_v2ray_config_ask
;;
time)
date -s "$(curl -sI g.cn | grep Date | cut -d' ' -f3-6)Z"
;;
log)
view_v2ray_log
;;