summaryrefslogtreecommitdiff
blob: 14d046fc4e2c8cdf2f3f572856d4ea0e8046ec7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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/powerd/files/powerd-init,v 1.4 2004/07/15 00:08:56 agriffis Exp $

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

stop() {
	ebegin "Stopping powerd"
	killall powerd
	eend $?
}