From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-power/nut/files: nut-2.2.2-init.d-upsmon |
Date: | Wed, 25 Jun 2008 02:53:14 |
Message-Id: | E1KBL88-0006u5-QC@stork.gentoo.org |
1 | robbat2 08/06/25 02:53:08 |
2 | |
3 | Modified: nut-2.2.2-init.d-upsmon |
4 | Log: |
5 | Forgot cleanup bit. |
6 | (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc4-00103-g1beee8d x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.2 sys-power/nut/files/nut-2.2.2-init.d-upsmon |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon?r1=1.1&r2=1.2 |
14 | |
15 | Index: nut-2.2.2-init.d-upsmon |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -p -w -b -B -u -u -r1.1 -r1.2 |
21 | --- nut-2.2.2-init.d-upsmon 25 Jun 2008 02:29:04 -0000 1.1 |
22 | +++ nut-2.2.2-init.d-upsmon 25 Jun 2008 02:53:08 -0000 1.2 |
23 | @@ -1,7 +1,7 @@ |
24 | #!/sbin/runscript |
25 | # Copyright 1999-2004 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon,v 1.1 2008/06/25 02:29:04 robbat2 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon,v 1.2 2008/06/25 02:53:08 robbat2 Exp $ |
29 | |
30 | opts="reload" |
31 | pidfile=/var/run/upsmon.pid |
32 | @@ -13,13 +13,13 @@ depend() { |
33 | |
34 | start() { |
35 | ebegin "Starting upsmon" |
36 | - start-stop-daemon --start --quiet --exec /usr/sbin/upsmon |
37 | + start-stop-daemon --start --quiet --exec ${bin} |
38 | eend $? |
39 | } |
40 | |
41 | stop() { |
42 | ebegin "Stopping upsmon" |
43 | - start-stop-daemon --stop --quiet --pidfile /var/run/upsmon.pid |
44 | + start-stop-daemon --stop --quiet --pidfile ${pidfile} |
45 | eend $? |
46 | } |
47 | reload() { |
48 | |
49 | |
50 | |
51 | -- |
52 | gentoo-commits@l.g.o mailing list |