|
|
@ -30,6 +30,7 @@ _download_v2ray_file() { |
|
|
|
mkdir -p /usr/bin/v2ray |
|
|
|
mkdir -p /usr/bin/v2ray |
|
|
|
cp -f "/tmp/v2ray/v2ray" "/usr/bin/v2ray/v2ray" |
|
|
|
cp -f "/tmp/v2ray/v2ray" "/usr/bin/v2ray/v2ray" |
|
|
|
chmod +x "/usr/bin/v2ray/v2ray" |
|
|
|
chmod +x "/usr/bin/v2ray/v2ray" |
|
|
|
|
|
|
|
echo "alias v2ray=$_v2ray_sh" >>/root/.bashrc |
|
|
|
cp -f "/tmp/v2ray/v2ctl" "/usr/bin/v2ray/v2ctl" |
|
|
|
cp -f "/tmp/v2ray/v2ctl" "/usr/bin/v2ray/v2ctl" |
|
|
|
chmod +x "/usr/bin/v2ray/v2ctl" |
|
|
|
chmod +x "/usr/bin/v2ray/v2ctl" |
|
|
|
} |
|
|
|
} |
|
|
|