1 |
idl0r 12/01/01 01:04:34 |
2 |
|
3 |
Modified: spindownd.initd-r1 spindownd.initd |
4 |
Log: |
5 |
Revbump. Don't use the deprecated $opts variable, bug 386759. |
6 |
|
7 |
(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sys-block/spindown/files/spindownd.initd-r1 |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/spindown/files/spindownd.initd-r1?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/spindown/files/spindownd.initd-r1?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/spindown/files/spindownd.initd-r1?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: spindownd.initd-r1 |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-block/spindown/files/spindownd.initd-r1,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- spindownd.initd-r1 21 Nov 2009 15:01:55 -0000 1.1 |
23 |
+++ spindownd.initd-r1 1 Jan 2012 01:04:33 -0000 1.2 |
24 |
@@ -1,5 +1,5 @@ |
25 |
#!/sbin/runscript |
26 |
-# Copyright 1999-2008 Gentoo Foundation |
27 |
+# Copyright 1999-2012 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
SPINDOWND_BIN="/usr/sbin/spindownd" |
31 |
@@ -7,7 +7,7 @@ |
32 |
SPINDOWND_PID=${SPINDOWND_PID:-/var/run/spindown.pid} |
33 |
SPINDOWND_FIFO=${SPINDOWND_FIFO:-/var/run/spindown.fifo} |
34 |
|
35 |
-opts="reload" |
36 |
+extra_started_commands="reload" |
37 |
|
38 |
depend() { |
39 |
need localmount |
40 |
@@ -55,7 +55,7 @@ |
41 |
|
42 |
reload() { |
43 |
ebegin "Reloading spindownd configuration" |
44 |
- start-stop-daemon --stop --exec ${SPINDOWND_BIN} --pidfile ${SPINDOWND_PID} \ |
45 |
+ start-stop-daemon --exec ${SPINDOWND_BIN} --pidfile ${SPINDOWND_PID} \ |
46 |
--signal HUP |
47 |
eend $? |
48 |
} |
49 |
|
50 |
|
51 |
|
52 |
1.2 sys-block/spindown/files/spindownd.initd |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/spindown/files/spindownd.initd?rev=1.2&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/spindown/files/spindownd.initd?rev=1.2&content-type=text/plain |
56 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/spindown/files/spindownd.initd?r1=1.1&r2=1.2 |
57 |
|
58 |
Index: spindownd.initd |
59 |
=================================================================== |
60 |
RCS file: /var/cvsroot/gentoo-x86/sys-block/spindown/files/spindownd.initd,v |
61 |
retrieving revision 1.1 |
62 |
retrieving revision 1.2 |
63 |
diff -u -r1.1 -r1.2 |
64 |
--- spindownd.initd 21 Nov 2008 18:18:01 -0000 1.1 |
65 |
+++ spindownd.initd 1 Jan 2012 01:04:33 -0000 1.2 |
66 |
@@ -1,5 +1,5 @@ |
67 |
#!/sbin/runscript |
68 |
-# Copyright 1999-2008 Gentoo Foundation |
69 |
+# Copyright 1999-2012 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
|
72 |
SPINDOWND_BIN="/usr/sbin/spindownd" |
73 |
@@ -7,7 +7,7 @@ |
74 |
SPINDOWND_LOCK=${SPINDOWND_LOCK:-/var/lock/spindown.lock} |
75 |
SPINDOWND_FIFO=${SPINDOWND_FIFO:-/var/run/spindown.fifo} |
76 |
|
77 |
-opts="reload" |
78 |
+extra_started_commands="reload" |
79 |
|
80 |
depend() { |
81 |
need localmount |
82 |
@@ -55,7 +55,7 @@ |
83 |
|
84 |
reload() { |
85 |
ebegin "Reloading spindownd configuration" |
86 |
- start-stop-daemon --stop --exec ${SPINDOWND_BIN} \ |
87 |
+ start-stop-daemon --exec ${SPINDOWND_BIN} \ |
88 |
--signal HUP |
89 |
eend $? |
90 |
} |