1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-01-23 10:15:22 +00:00

Revert "Add CAP_NET_RAW on fping6"

This is not required since the fping6 exe is a script that calls fping
bin (which has CAP_NET_RAW)

This reverts commit 5eb35a1e55.
This commit is contained in:
Jonathan Senecal 2018-09-21 16:27:10 -04:00
parent a6abc7fd5d
commit 6028e2ffe4

View file

@ -145,7 +145,6 @@ EOL
# Config : Fping
echo "/usr/sbin/fping -6 \$@" > /usr/sbin/fping6
chmod +x /usr/sbin/fping6
setcap cap_net_raw+ep /usr/sbin/fping6
cat > ${LIBRENMS_PATH}/config.d/fping.php <<EOL
<?php
\$config['fping'] = "/usr/sbin/fping";