|
From: <abe...@us...> - 2011-10-23 15:05:26
|
Revision: 5229
http://astlinux.svn.sourceforge.net/astlinux/?rev=5229&view=rev
Author: abelbeck
Date: 2011-10-23 15:05:20 +0000 (Sun, 23 Oct 2011)
Log Message:
-----------
zabbix, allow the existance of /mnt/kd/zabbix_agentd.conf also enable zabbix
Modified Paths:
--------------
branches/1.0/package/zabbix/zabbix.init
Modified: branches/1.0/package/zabbix/zabbix.init
===================================================================
--- branches/1.0/package/zabbix/zabbix.init 2011-10-23 14:23:01 UTC (rev 5228)
+++ branches/1.0/package/zabbix/zabbix.init 2011-10-23 15:05:20 UTC (rev 5229)
@@ -5,7 +5,7 @@
init () {
local server="" IFS
- if [ -z "$ZABBIX_SERVER" ]; then
+ if [ -z "$ZABBIX_SERVER" ] && [ ! -f /mnt/kd/zabbix_agentd.conf ]; then
if [ -f /tmp/etc/zabbix_agentd.conf ]; then
rm /tmp/etc/zabbix_agentd.conf
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|