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)
commit046d4df1cf2017cb48de7ff38b7b8470bee84689
tree0028f7093902dd4426fa6dfa713066dbc1ed3d2c
parent1c7b2c50aa079bdae12fdd16f4b42467dfa40e47
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