projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move ucmb to packages feed.
[openwrt/svn-archive/archive.git]
/
admin
/
zabbix
/
files
/
zabbix_agentd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2008 OpenWrt.org
3
START
=
60
4
5
start
() {
6
[
-f
/
etc
/
zabbix
/
zabbix_agentd.conf
]
||
{
7
echo
"/etc/zabbix/zabbix_agentd.conf does not exist !"
;
8
exit
0
;
9
};
10
[
-x
/
usr
/
sbin
/
zabbix_agentd
] && /
usr
/
sbin
/
zabbix_agentd
11
}
12
13
stop
() {
14
killall zabbix_agentd
15
}
16
17
restart
() {
18
stop
19
sleep
1
20
start
21
}