blob: f4ec4f5ac8827c0f1b6ba173bf72e4f8a951f118 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmud/files/pmud.start,v 1.4 2002/07/23 11:56:53 cselkirk Exp $
depend() {
need bootmisc
need net.lo
}
[ -f /etc/power.conf ] && . /etc/power.conf
start() {
ebegin "Starting PMUD"
start-stop-daemon --start --quiet --exec /sbin/pmud -- $PMUD_FLAGS >/dev/null 2>&1
eend $?
}
stop() {
ebegin "Stopping PMUD"
start-stop-daemon --stop --quiet --exec /sbin/pmud -- >/dev/null 2>&1
eend $?
}
|