fix v2ray command not found

This commit is contained in:
233boy
2019-06-14 09:03:15 +08:00
parent 5c647ffcc3
commit 4555f1ad9a
2 changed files with 3 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ _download_v2ray_file() {
mkdir -p /usr/bin/v2ray
cp -f "/tmp/v2ray/v2ray" "/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"
chmod +x "/usr/bin/v2ray/v2ctl"
}