1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-27 01:45:23 +00:00

fix v2ray tmp path

This commit is contained in:
v2ray 2015-12-10 15:45:51 +01:00
parent e57132a36e
commit 95c8910f87

View File

@ -49,7 +49,7 @@ fi
# Configure SysV if necessary.
if [ -d "/etc/init.d" ]; then
if [ ! -f "/etc/init.d/v2ray" ]; then
cp "/tmp/v2ray/systemv/v2ray" "/etc/init.d/v2ray"
cp "/tmp/v2ray/v2ray-${VER}-linux-${VDIS}/systemv/v2ray" "/etc/init.d/v2ray"
chmod +x "/etc/init.d/v2ray"
update-rc.d v2ray defaults
fi