From: | "Robert Buchholz (rbu)" <rbu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/lcdproc/files: 0.5.2-r2-lcdproc.initd |
Date: | Fri, 12 Sep 2008 23:58:59 |
Message-Id: | E1KeIXQ-0005vt-ET@stork.gentoo.org |
1 | rbu 08/09/12 23:58:56 |
2 | |
3 | Added: 0.5.2-r2-lcdproc.initd |
4 | Log: |
5 | Add imonlcd to support Antec iMON LCD modules (bug #232328), lcdproc init |
6 | script should start after ntp-client (bug #234084), fix quoting. |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc6 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 0.5.2-r2-lcdproc.initd |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2006 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd,v 1.1 2008/09/12 23:58:55 rbu Exp $ |
21 | |
22 | depend(){ |
23 | use LCDd |
24 | after ntp-client |
25 | } |
26 | |
27 | start() { |
28 | ebegin "Starting lcdproc" |
29 | start-stop-daemon --start --background \ |
30 | --exec /usr/bin/lcdproc |
31 | eend $? |
32 | } |
33 | |
34 | stop() { |
35 | ebegin "Stopping lcdproc" |
36 | start-stop-daemon --stop --exec /usr/bin/lcdproc |
37 | eend $? |
38 | } |