mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 04:25:45 +00:00
Set CAP_NET_ADMIN on hev-socks5-tunnel to allow rootless TUN
This commit is contained in:
parent
23cf2bc8a7
commit
80f00d3d51
1 changed files with 1 additions and 0 deletions
|
|
@ -583,6 +583,7 @@ update-desktop-database /usr/share/applications >/dev/null 2>&1 || true
|
|||
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
|
||||
gtk-update-icon-cache -f /usr/share/icons/hicolor >/dev/null 2>&1 || true
|
||||
fi
|
||||
setcap 'CAP_NET_ADMIN+ep' /opt/v2rayn-core/hev-socks5-tunnel
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue