summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2011-09-15 07:58:50 +0000
committerLars Wendler <polynomial-c@gentoo.org>2011-09-15 07:58:50 +0000
commit8c891ddd92b2ccaaa43637b56c6286971a788362 (patch)
tree630aa609c819129dfcd03fc13ab4580d5fea1b66 /sys-apps/smartmontools/files
parentVersion bump. Update to EAPI 4 and respect LDFLAGS (bug #336230). (diff)
downloadgentoo-2-8c891ddd92b2ccaaa43637b56c6286971a788362.tar.gz
gentoo-2-8c891ddd92b2ccaaa43637b56c6286971a788362.tar.bz2
gentoo-2-8c891ddd92b2ccaaa43637b56c6286971a788362.zip
Removed deprecated --oknodo option (bug #377769). Replaced deprecated opts variable (bug #381879) and removed --stop option from reload function
(Portage version: 2.2.0_alpha57/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/smartmontools/files')
-rw-r--r--sys-apps/smartmontools/files/smartd.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc
index 560e17d646dc..131a7d45f98b 100644
--- a/sys-apps/smartmontools/files/smartd.rc
+++ b/sys-apps/smartmontools/files/smartd.rc
@@ -1,14 +1,14 @@
#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.8 2009/10/11 00:43:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.9 2011/09/15 07:58:50 polynomial-c Exp $
depend() {
need localmount
after bootmisc
}
-opts="${opts} reload"
+extra_started_commands="reload"
checkconfig() {
if [ ! -f "/etc/smartd.conf" ] ; then
@@ -38,6 +38,6 @@ stop() {
reload() {
ebegin "Reloading configuration"
- start-stop-daemon --oknodo --stop --signal HUP --pidfile /var/run/smartd.pid smartd
+ start-stop-daemon --signal HUP --pidfile /var/run/smartd.pid smartd
eend $?
}