#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=60

start() {
  [ -f /etc/zabbix/zabbix_agentd.conf ] || {
    echo "/etc/zabbix/zabbix_agentd.conf does not exist !";
    exit 0;
  };
  [ -x /usr/sbin/zabbix_agentd ] && /usr/sbin/zabbix_agentd
}

stop() {
  killall zabbix_agentd
}

restart() {
	stop
	sleep 1
	start
}
