|
|
@ -733,10 +733,10 @@ install_v2ray() { |
|
|
|
echo |
|
|
|
echo |
|
|
|
if [[ $cmd == "apt-get" ]]; then |
|
|
|
if [[ $cmd == "apt-get" ]]; then |
|
|
|
$cmd update -y |
|
|
|
$cmd update -y |
|
|
|
$cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap2-bin patch diff jq |
|
|
|
$cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap2-bin patch diffutils jq |
|
|
|
else |
|
|
|
else |
|
|
|
# $cmd install -y lrzsz git zip unzip curl wget qrencode libcap iptables-services |
|
|
|
# $cmd install -y lrzsz git zip unzip curl wget qrencode libcap iptables-services |
|
|
|
$cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap patch diff |
|
|
|
$cmd install -y socat lrzsz git zip unzip curl wget qrencode libcap patch diffutils |
|
|
|
fi |
|
|
|
fi |
|
|
|
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime |
|
|
|
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime |
|
|
|
[ -d /etc/v2ray ] && rm -rf /etc/v2ray |
|
|
|
[ -d /etc/v2ray ] && rm -rf /etc/v2ray |
|
|
|