diff --git a/package-debian.sh b/package-debian.sh index e5d9f2c2..418c4039 100644 --- a/package-debian.sh +++ b/package-debian.sh @@ -467,7 +467,9 @@ build_for_arch() { echo "[*] --netcore specified: use separate core + rules." fetch_separate_cores_and_rules "$STAGE/opt/v2rayN" fi - install -m 440 $PROJECT_DIR/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-core/v2rayn-tun.yaml + # Wrapper install -m 755 /dev/stdin "$STAGE/usr/bin/v2rayn" <<'EOF' #!/usr/bin/env bash