ports/net-mgmt/librenms-agent/files/patch-mk__enplug
Baptiste Daroussin 09068645c2 librenms-agent is an agent based on check_mk used with xinetd to provide
monitoring informations of machine to librenms server.

WWW: https://github.com/librenms/librenms-agent

PR:		211522
Submitted by:	kiwi@oav.net
2017-05-06 15:25:03 +00:00

13 lines
388 B
Text

--- mk_enplug.orig 2016-08-01 16:26:27 UTC
+++ mk_enplug
@@ -14,8 +14,8 @@
#
# See http://www.gnu.org/licenses/gpl.txt for the full license
-plugdir=/usr/lib/check_mk_agent/plugins
-repodir=/usr/lib/check_mk_agent/repo
+plugdir=%%PREFIX%%/lib/check_mk_agent/plugins
+repodir=%%PREFIX%%/lib/check_mk_agent/repo
findscripts() {
find ${repodir} -type f | sed -e "s#$repodir/##g"