blob: 9859448c8778d310cd8c18d6fc4f85aae6d35e8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/files/apmiser.rc,v 1.1 2004/03/08 04:38:01 latexer Exp $
start() {
ebegin "Starting Thinkpad Battery Maximiser"
start-stop-daemon --start --background --quiet --make-pidfile \
--pidfile /var/run/apmiser.pid --exec /usr/sbin/apmiser
eend $?
}
stop () {
ebegin "Shutting down Thinkpad Battery Maximiser"
start-stop-daemon --stop --quiet --pid /var/run/apmiser.pid
eend $?
}
|