blob: 1997851253bd265761e0eaf74f34700b033b60ec (
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
# $Id$
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
}
|