diff options
author | yangon99 | 2022-04-11 23:09:19 +0800 |
---|---|---|
committer | yangon99 | 2022-04-11 23:09:19 +0800 |
commit | 0e0e89cf6550c3922d998dc9822bb5add924cdb1 (patch) | |
tree | 57aaf5361a434bc6875ac7125d86eb34a24b7fce /clash-premium-bin.install | |
parent | 2e5121c6f97205ba8c92ebba9b8d99ac2cee095b (diff) | |
download | aur-0e0e89cf6550c3922d998dc9822bb5add924cdb1.tar.gz |
add cap_net_admin for clash
Diffstat (limited to 'clash-premium-bin.install')
-rw-r--r-- | clash-premium-bin.install | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clash-premium-bin.install b/clash-premium-bin.install index ae4bbff9264d..d6f955c79a45 100644 --- a/clash-premium-bin.install +++ b/clash-premium-bin.install @@ -1,10 +1,11 @@ post_install(){ - post_upgrade -} -post_upgrade(){ cat << EOF This is the premium core of clash which is close-sourced. You can find the manual at https://github.com/Dreamacro/clash/wiki/Premium-Core-Features EOF +} +post_upgrade(){ + echo setcap "cap_net_admin=ep" for usr/bin/clash + setcap "cap_net_admin=ep" usr/bin/clash }
\ No newline at end of file |