blob: cc27c2d8e464dcf6c8f8077007efd3044d1ea134 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/files/midentd.rc,v 1.3 2004/07/15 00:03:29 agriffis Exp $
start() {
ebegin "Starting midentd"
/usr/sbin/midentd ${MIDENTD_OPTS}
eend $?
}
stop() {
ebegin "Stopping midentd"
start-stop-daemon --stop --quiet --pidfile /var/run/midentd.pid
local ret=$?
rm -f /var/run/midentd.pid
eend ${ret}
}
|