mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 12:35:46 +00:00
Fix wrong path in sudoers and tun conf
This commit is contained in:
parent
e2ab9ab7db
commit
ad62b8b319
1 changed files with 2 additions and 2 deletions
|
|
@ -467,8 +467,8 @@ build_for_arch() {
|
||||||
echo "[*] --netcore specified: use separate core + rules."
|
echo "[*] --netcore specified: use separate core + rules."
|
||||||
fetch_separate_cores_and_rules "$STAGE/opt/v2rayN"
|
fetch_separate_cores_and_rules "$STAGE/opt/v2rayN"
|
||||||
fi
|
fi
|
||||||
install -m 440 $PROJECT_DIR/package/sudoers-v2rayn-core $STAGE/etc/sudoers.d/v2rayn-core
|
install -m 440 $PROJECT_DIR/../../package/sudoers-v2rayn-core $STAGE/etc/sudoers.d/v2rayn-core
|
||||||
install -m 444 $PROJECT_DIR/package/v2rayn-tun.yaml $STAGE/opt/v2rayN/bin/hev_socks5_tunnel/v2rayn-tun.yaml
|
install -m 444 $PROJECT_DIR/../../package/v2rayn-tun.yaml $STAGE/opt/v2rayN/bin/hev_socks5_tunnel/v2rayn-tun.yaml
|
||||||
|
|
||||||
# Wrapper
|
# Wrapper
|
||||||
install -m 755 /dev/stdin "$STAGE/usr/bin/v2rayn" <<'EOF'
|
install -m 755 /dev/stdin "$STAGE/usr/bin/v2rayn" <<'EOF'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue