blob: 5fa2a523fcf802535787c0d3e40d6552b2f0911a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snmptt/files/snmptt.initd,v 1.2 2006/03/25 21:59:42 swegener Exp $
depend() {
need net snmptrapd
}
start() {
ebegin "Starting snmptt"
start-stop-daemon --start --pidfile /var/run/snmptt.pid --exec /usr/sbin/snmptt
eend
}
stop() {
ebegin "Stopping snmptt"
start-stop-daemon --stop --pidfile /var/run/snmptt.pid
eend
}
|