blob: 3bfc71962e0772f8918412de89b80c4bdf9a8c63 (
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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/am-utils/files/amd.rc,v 1.1 2003/04/10 22:06:42 liquidx Exp $
depend() {
need localmount
use ypbind nfs
}
start() {
ebegin "Starting amd"
start-stop-daemon --start --quiet --exec /usr/sbin/amd -- -F /etc/amd/amd.conf
eend $? "Failed to start amd"
}
stop() {
ebegin "Stopping amd"
start-stop-daemon --stop --quiet --exec /usr/sbin/amd
eend $? "Failed to stop amd"
}
|