diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-08-17 06:38:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-08-17 06:38:50 +0000 |
commit | f495e5588625ec192b6bc2287961e04b073f39d4 (patch) | |
tree | bd724ecda3897d17008b3d289e3da988fd171ef3 /packaging/makeself | |
parent | Adding upstream version 1.36.0. (diff) | |
download | netdata-f495e5588625ec192b6bc2287961e04b073f39d4.tar.xz netdata-f495e5588625ec192b6bc2287961e04b073f39d4.zip |
Adding upstream version 1.36.1.upstream/1.36.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-x | packaging/makeself/install-or-update.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh index 15b073fe..aef67a15 100755 --- a/packaging/makeself/install-or-update.sh +++ b/packaging/makeself/install-or-update.sh @@ -214,6 +214,10 @@ for x in apps.plugin freeipmi.plugin ioping cgroup-network ebpf.plugin perf.plug fi done +if [ -f "usr/libexec/netdata/plugins.d/go.d.plugin" ] && command -v setcap 1>/dev/null 2>&1; then + run setcap cap_net_admin+epi "usr/libexec/netdata/plugins.d/go.d.plugin" +fi + # fix the fping binary if [ -f bin/fping ]; then run chown root:${NETDATA_GROUP} bin/fping |