Set CAP_NET_ADMIN on hev-socks5-tunnel to allow rootless TUN

This commit is contained in:
Valeriy Manzhos 2026-04-06 14:05:12 +03:00
parent 23cf2bc8a7
commit 80f00d3d51
No known key found for this signature in database
GPG key ID: 6547CFC8E2EC3D90

View file

@ -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 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 gtk-update-icon-cache -f /usr/share/icons/hicolor >/dev/null 2>&1 || true
fi fi
setcap 'CAP_NET_ADMIN+ep' /opt/v2rayn-core/hev-socks5-tunnel
exit 0 exit 0
EOF EOF