diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-02-08 10:21:18 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-02-08 10:21:18 +0000 |
commit | 3303b1dba69edea866056f8cdf2597c643c6d09e (patch) | |
tree | 042ca8edbecdb175189658b120a281f20dec9db0 /sys-apps/smartmontools/files | |
parent | Version bump. (diff) | |
download | gentoo-2-3303b1dba69edea866056f8cdf2597c643c6d09e.tar.gz gentoo-2-3303b1dba69edea866056f8cdf2597c643c6d09e.tar.bz2 gentoo-2-3303b1dba69edea866056f8cdf2597c643c6d09e.zip |
Bump for new init script that works across all baselayout versions.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-apps/smartmontools/files')
-rw-r--r-- | sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 | 3 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/smartd.rc | 11 |
2 files changed, 10 insertions, 4 deletions
diff --git a/sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 b/sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 new file mode 100644 index 000000000000..060cf072603d --- /dev/null +++ b/sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 @@ -0,0 +1,3 @@ +MD5 53f6861a916169a88a9edb1848e27dd0 smartmontools-5.33.tar.gz 509826 +RMD160 c6aa5a6dd903a55d0c583db2c8bd7d20852c9bf4 smartmontools-5.33.tar.gz 509826 +SHA256 2fdde1b4e610cd6e004db8f98ac1100fcbea03b8f11e236de536ce22bc6c620d smartmontools-5.33.tar.gz 509826 diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc index a0cfa4a404f2..c0e434058a7b 100644 --- a/sys-apps/smartmontools/files/smartd.rc +++ b/sys-apps/smartmontools/files/smartd.rc @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 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.5 2005/01/03 14:18:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.6 2006/02/08 10:21:18 uberlord Exp $ opts="${opts} reload" @@ -18,18 +18,21 @@ start() { checkconfig || return 1 ebegin "Starting S.M.A.R.T. monitoring daemon" - /usr/sbin/smartd -p /var/run/smartd.pid ${SMARTD_OPTS} + start-stop-daemon --start --exec /usr/sbin/smartd \ + --pidfile /var/run/smartd.pid \ + -- -p /var/run/smartd.pid ${SMARTD_OPTS} eend $? } stop() { ebegin "Stopping S.M.A.R.T. monitoring daemon" - start-stop-daemon --stop --pid /var/run/smartd.pid + start-stop-daemon --stop --exec /usr/sbin/smartd \ + --pidfile /var/run/smartd.pid eend $? } reload() { ebegin "Reloading configuration" - killall -HUP smartd &>/dev/null + killall -HUP smartd eend $? } |