1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

Copy snmp script inside the package as well

This commit is contained in:
Mark Schouten
2019-07-03 12:05:14 +02:00
parent ae3fdedcde
commit 05fbd40a4c

View File

@ -4,7 +4,9 @@ install:
mkdir -p $(PREFIX)/usr/lib/check_mk_agent/plugins
mkdir -p $(PREFIX)/usr/lib/check_mk_agent/repo
mkdir -p $(PREFIX)/usr/lib/check_mk_agent/local
cp -r agent-local/* $(PREFIX)/usr/lib/check_mk_agent/repo/
mkdir -p $(PREFIX)/usr/share/librenms-agent/snmp
cp -rL agent-local/* $(PREFIX)/usr/lib/check_mk_agent/repo/
cp -rL snmp/* $(PREFIX)/usr/share/librenms-agent/snmp
rm $(PREFIX)/usr/lib/check_mk_agent/repo/README
mkdir -p $(PREFIX)/usr/bin
install -m 0750 check_mk_agent $(PREFIX)/usr/bin/check_mk_agent