|
|
@ -10,7 +10,7 @@ none='\e[0m' |
|
|
|
# Root |
|
|
|
# Root |
|
|
|
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 |
|
|
|
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 |
|
|
|
|
|
|
|
|
|
|
|
_version="v3.06" |
|
|
|
_version="v3.07-test" |
|
|
|
|
|
|
|
|
|
|
|
cmd="apt-get" |
|
|
|
cmd="apt-get" |
|
|
|
|
|
|
|
|
|
|
@ -2795,13 +2795,17 @@ menu() { |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo -e "$yellow 5. $none修改 Shadowsocks 配置" |
|
|
|
echo -e "$yellow 5. $none修改 Shadowsocks 配置" |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo -e "$yellow 6. $none启动 / 停止 / 重启 / 查看日志" |
|
|
|
echo -e "$yellow 6. $none查看 MTProto 配置 / 修改 MTProto 配置" |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo -e "$yellow 7. $none更新 V2Ray / 更新 V2Ray 管理脚本" |
|
|
|
echo -e "$yellow 7. $none查看 Socks5 配置 / 修改 Socks5 配置" |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo -e "$yellow 8. $none卸载 V2Ray" |
|
|
|
echo -e "$yellow 8. $none启动 / 停止 / 重启 / 查看日志" |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo -e "$yellow 9. $none其他" |
|
|
|
echo -e "$yellow 9. $none更新 V2Ray / 更新 V2Ray 管理脚本" |
|
|
|
|
|
|
|
echo |
|
|
|
|
|
|
|
echo -e "$yellow 10. $none卸载 V2Ray" |
|
|
|
|
|
|
|
echo |
|
|
|
|
|
|
|
echo -e "$yellow 11. $none其他" |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo -e "温馨提示...如果你不想执行选项...按$yellow Ctrl + C $none即可退出" |
|
|
|
echo -e "温馨提示...如果你不想执行选项...按$yellow Ctrl + C $none即可退出" |
|
|
|
echo |
|
|
|
echo |
|
|
@ -2831,18 +2835,28 @@ menu() { |
|
|
|
break |
|
|
|
break |
|
|
|
;; |
|
|
|
;; |
|
|
|
6) |
|
|
|
6) |
|
|
|
v2ray_service |
|
|
|
_load mtproto.sh |
|
|
|
|
|
|
|
_mtproto_main |
|
|
|
break |
|
|
|
break |
|
|
|
;; |
|
|
|
;; |
|
|
|
7) |
|
|
|
7) |
|
|
|
update |
|
|
|
_load socks.sh |
|
|
|
|
|
|
|
_socks_main |
|
|
|
break |
|
|
|
break |
|
|
|
;; |
|
|
|
;; |
|
|
|
8) |
|
|
|
8) |
|
|
|
uninstall_v2ray |
|
|
|
v2ray_service |
|
|
|
break |
|
|
|
break |
|
|
|
;; |
|
|
|
;; |
|
|
|
9) |
|
|
|
9) |
|
|
|
|
|
|
|
update |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
;; |
|
|
|
|
|
|
|
10) |
|
|
|
|
|
|
|
uninstall_v2ray |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
;; |
|
|
|
|
|
|
|
11) |
|
|
|
other |
|
|
|
other |
|
|
|
break |
|
|
|
break |
|
|
|
;; |
|
|
|
;; |
|
|
|