summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-01 01:04:34 +0000
committerChristian Ruppert <idl0r@gentoo.org>2012-01-01 01:04:34 +0000
commite4a00605791612e6420f7b9eeb0db7403bcca713 (patch)
treee193a9fab2dfcebd43732234883a131f0f77476b /sys-block/spindown/files
parentWhitespace (diff)
downloadgentoo-2-e4a00605791612e6420f7b9eeb0db7403bcca713.tar.gz
gentoo-2-e4a00605791612e6420f7b9eeb0db7403bcca713.tar.bz2
gentoo-2-e4a00605791612e6420f7b9eeb0db7403bcca713.zip
Revbump. Don't use the deprecated $opts variable, bug 386759.
(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)
Diffstat (limited to 'sys-block/spindown/files')
-rw-r--r--sys-block/spindown/files/spindownd.initd6
-rw-r--r--sys-block/spindown/files/spindownd.initd-r16
2 files changed, 6 insertions, 6 deletions
diff --git a/sys-block/spindown/files/spindownd.initd b/sys-block/spindown/files/spindownd.initd
index 1b2cf1bce9ed..ed2e04ad0b97 100644
--- a/sys-block/spindown/files/spindownd.initd
+++ b/sys-block/spindown/files/spindownd.initd
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
SPINDOWND_BIN="/usr/sbin/spindownd"
@@ -7,7 +7,7 @@ SPINDOWND_CFG=${SPINDOWND_CFG:-/etc/spindown.conf}
SPINDOWND_LOCK=${SPINDOWND_LOCK:-/var/lock/spindown.lock}
SPINDOWND_FIFO=${SPINDOWND_FIFO:-/var/run/spindown.fifo}
-opts="reload"
+extra_started_commands="reload"
depend() {
need localmount
@@ -55,7 +55,7 @@ stop() {
reload() {
ebegin "Reloading spindownd configuration"
- start-stop-daemon --stop --exec ${SPINDOWND_BIN} \
+ start-stop-daemon --exec ${SPINDOWND_BIN} \
--signal HUP
eend $?
}
diff --git a/sys-block/spindown/files/spindownd.initd-r1 b/sys-block/spindown/files/spindownd.initd-r1
index 7e1b4617d298..f35908fe8479 100644
--- a/sys-block/spindown/files/spindownd.initd-r1
+++ b/sys-block/spindown/files/spindownd.initd-r1
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
SPINDOWND_BIN="/usr/sbin/spindownd"
@@ -7,7 +7,7 @@ SPINDOWND_CFG=${SPINDOWND_CFG:-/etc/spindown.conf}
SPINDOWND_PID=${SPINDOWND_PID:-/var/run/spindown.pid}
SPINDOWND_FIFO=${SPINDOWND_FIFO:-/var/run/spindown.fifo}
-opts="reload"
+extra_started_commands="reload"
depend() {
need localmount
@@ -55,7 +55,7 @@ stop() {
reload() {
ebegin "Reloading spindownd configuration"
- start-stop-daemon --stop --exec ${SPINDOWND_BIN} --pidfile ${SPINDOWND_PID} \
+ start-stop-daemon --exec ${SPINDOWND_BIN} --pidfile ${SPINDOWND_PID} \
--signal HUP
eend $?
}