zabbix: preserve conffile over sysupgrade
authorFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:20:59 +0000 (16:20 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:20:59 +0000 (16:20 +0000)
commitf9180162dfd1821ae01b419fc95dfe3f4386a1c2
treea938b3ab0b52bb0c05d2eba41eb7645ca36155cf
parent413fa3d0a532c70903af9e82197e4feddc9bc74c
zabbix: preserve conffile over sysupgrade

while doing a sysupgrade the conffile was lost because:
- the path in the Makefile is incorrect
- the parametrized /conffiles  define doesn't seem to work for me

So I added a /conffiles define for every zabbix component and corrected
the path. I think the path changed while upgrading to 2.0.0.

I also had an issue with "hostname" and "uname" not being present on my
system, so I added selects onto these busybox-applets if the native
tool is not installed. Zabbix could also call lsusb and lspci, but I
think it's okay if these calls don't work on an embedded device.

Additionally I deleted an old conffile "files/zabbix_agentd.conf"
which is unused since changeset 32497 (level up zabbix to version 2.0.0)

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34491
admin/zabbix/Makefile
admin/zabbix/files/zabbix_agentd.conf