summaryrefslogtreecommitdiff
blob: 8c795dc257a89cd8d45b7d5de23295415f1ee2ef (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-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/files/mheardd.rc,v 1.2 2004/03/04 18:47:39 vapier Exp $

depend() {
	need net
}

start() {
	ebegin "Starting mheardd"
	start-stop-daemon --start --quiet --background --exec /usr/sbin/mheardd
	eend $?
}

stop() {
	ebegin "Stopping mheardd"
	start-stop-daemon --stop --quiet --exec /usr/sbin/mheardd
	eend $?
}