blob: d6ad0406fa5183fdf6181242942c652d8103645d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/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/mdidentd/files/mdidentd.init.d,v 1.4 2004/07/15 00:03:10 agriffis Exp $
depend() {
need net
}
start() {
ebegin "Starting mdidentd"
/usr/sbin/mdidentd -u ${MDIDENTD_UID} -kr /usr/sbin/mdidentd
eend $?
}
stop() {
ebegin "Stopping mdidentd"
kill $(</var/run/mdidentd.pid)
eend $?
rm -f /var/run/mdidentd.pid
}
|