From d2c01f95447c189e44f7761c6051e7ecd15f9421 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 19 Jan 2012 12:41:49 +0000 Subject: main/smartmontools: sync init.d script with gentoo ref #943 --- main/smartmontools/smartd.initd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main/smartmontools/smartd.initd') diff --git a/main/smartmontools/smartd.initd b/main/smartmontools/smartd.initd index 560e17d646..131a7d45f9 100644 --- a/main/smartmontools/smartd.initd +++ b/main/smartmontools/smartd.initd @@ -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 $? } -- cgit v1.2.3