mirror of
https://github.com/librenms/docker.git
synced 2026-07-28 04:34:03 +00:00
Add CAP_NET_RAW on fping6
Prevents `validate.php` from complaining.
This commit is contained in:
parent
133b1b4693
commit
5eb35a1e55
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ 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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue