mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 04:25:45 +00:00
Remove duplicate setcap
This commit is contained in:
parent
47165f14c1
commit
bd81ac3dca
1 changed files with 0 additions and 1 deletions
|
|
@ -295,7 +295,6 @@ download_hev_socks5_tunnel() {
|
||||||
curl -fL "$url" -o "$tmp/$filename"
|
curl -fL "$url" -o "$tmp/$filename"
|
||||||
# The file must be write-protected because of CAP_NET_ADMIN
|
# The file must be write-protected because of CAP_NET_ADMIN
|
||||||
install -m 544 -o v2rayn-core -g v2rayn-core "$tmp/$filename" "$outdir/hev-socks5-tunnel"
|
install -m 544 -o v2rayn-core -g v2rayn-core "$tmp/$filename" "$outdir/hev-socks5-tunnel"
|
||||||
setcap 'CAP_NET_ADMIN+ep' "$outdir/hev-socks5-tunnel"
|
|
||||||
rm -rf "$tmp"
|
rm -rf "$tmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue