diff options
author | DuckSoft | 2020-09-05 00:06:57 +0800 |
---|---|---|
committer | DuckSoft | 2020-09-05 00:06:57 +0800 |
commit | 6ba03eacd1c7bc12d3f2d7f11951c0ac95d9ee81 (patch) | |
tree | 315c068189cf2d6ea8039687a2368105383ff882 /v2ray-cap.sh | |
parent | 75fd049f17e6c9db896a7f8d2e46b51fbf69256f (diff) | |
download | aur-6ba03eacd1c7bc12d3f2d7f11951c0ac95d9ee81.tar.gz |
updating according to upstream
Diffstat (limited to 'v2ray-cap.sh')
-rwxr-xr-x | v2ray-cap.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v2ray-cap.sh b/v2ray-cap.sh index 872d4a6b9bef..ad04f37534b6 100755 --- a/v2ray-cap.sh +++ b/v2ray-cap.sh @@ -2,10 +2,10 @@ post_install() { echo 'Granting Capabilities to V2Ray Core...' - /usr/bin/setcap 'cap_net_bind_service=+ep cap_net_admin=+ep' /usr/lib/v2ray/v2ray + /usr/bin/setcap 'cap_net_bind_service=+ep cap_net_admin=+ep' /usr/bin/v2ray } post_remove() { echo 'Revoking Capabilities from V2Ray Core...' - /usr/bin/setcap 'cap_net_bind_service=-ep cap_net_admin=-ep' /usr/lib/v2ray/v2ray + /usr/bin/setcap 'cap_net_bind_service=-ep cap_net_admin=-ep' /usr/bin/v2ray } |