aboutsummaryrefslogtreecommitdiffstats
path: root/main/smartmontools
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-19 12:49:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-19 12:49:54 +0000
commit37d3f3a203a2baf6969057808d7e2f5d8666a925 (patch)
tree97bfd5379d66f0d2a4f5b0ab90c97645875d1502 /main/smartmontools
parent0396fe7e601e603614e8a128b6474cbc145134d5 (diff)
downloadaports-37d3f3a203a2baf6969057808d7e2f5d8666a925.tar.bz2
aports-37d3f3a203a2baf6969057808d7e2f5d8666a925.tar.xz
Revert "main/smartmontools: sync init.d script with gentoo"
Diffstat (limited to 'main/smartmontools')
-rw-r--r--main/smartmontools/APKBUILD2
-rw-r--r--main/smartmontools/smartd.initd8
2 files changed, 5 insertions, 5 deletions
diff --git a/main/smartmontools/APKBUILD b/main/smartmontools/APKBUILD
index 5cd62bbdad..e5401a84c4 100644
--- a/main/smartmontools/APKBUILD
+++ b/main/smartmontools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=smartmontools
pkgver=5.42
-pkgrel=1
+pkgrel=0
pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives."
url="http://smartmontools.sourceforge.net"
arch="all"
diff --git a/main/smartmontools/smartd.initd b/main/smartmontools/smartd.initd
index 131a7d45f9..560e17d646 100644
--- a/main/smartmontools/smartd.initd
+++ b/main/smartmontools/smartd.initd
@@ -1,14 +1,14 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2009 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.9 2011/09/15 07:58:50 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.8 2009/10/11 00:43:58 vapier Exp $
depend() {
need localmount
after bootmisc
}
-extra_started_commands="reload"
+opts="${opts} reload"
checkconfig() {
if [ ! -f "/etc/smartd.conf" ] ; then
@@ -38,6 +38,6 @@ stop() {
reload() {
ebegin "Reloading configuration"
- start-stop-daemon --signal HUP --pidfile /var/run/smartd.pid smartd
+ start-stop-daemon --oknodo --stop --signal HUP --pidfile /var/run/smartd.pid smartd
eend $?
}