summaryrefslogtreecommitdiff
blob: e48fcaebfc61c5ebe6e8add060351b73b9ddc6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/files/pbbuttonsd.rc5,v 1.2 2004/07/14 21:29:37 agriffis Exp $

start() {
	ebegin "Starting pbbuttonsd"
	start-stop-daemon --start --quiet --exec /usr/bin/pbbuttonsd -- -d \
	/var/run/pbbuttonsd.pid
	eend $?
}

stop() {
	ebegin "Stopping pbbuttonsd"
	start-stop-daemon --stop --quiet --exec /usr/bin/pbbuttonsd
	eend $?
}