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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move user/group creation from postinst to initscript
* use /var/run/zabbix directory for pid file
* use /var/log/zabbix directory for log file
* set correct ownership and perms for both directories
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28892 3c298f89-4303-0410-b956-a3cf2f4a3e73