summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-01-29 16:13:42 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-01-29 16:13:42 +0000
commit395854051775509b824a845b9c78127a5b3f1ed2 (patch)
tree5e2f425f8ce8a0f9a75b8895f29d92daac70ed2d /sys-apps/smartmontools
parentalpha/ia64/sparc stable wrt #207634 (diff)
downloadgentoo-2-395854051775509b824a845b9c78127a5b3f1ed2.tar.gz
gentoo-2-395854051775509b824a845b9c78127a5b3f1ed2.tar.bz2
gentoo-2-395854051775509b824a845b9c78127a5b3f1ed2.zip
Fix init script dependencies to work without a boot runlevel.
(Portage version: 2.1.4)
Diffstat (limited to 'sys-apps/smartmontools')
-rw-r--r--sys-apps/smartmontools/ChangeLog7
-rw-r--r--sys-apps/smartmontools/files/smartd.rc7
2 files changed, 11 insertions, 3 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog
index bf019b87c490..21a7d66e7e6f 100644
--- a/sys-apps/smartmontools/ChangeLog
+++ b/sys-apps/smartmontools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/smartmontools
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.70 2007/12/28 23:49:25 gmsoft Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.71 2008/01/29 16:13:41 flameeyes Exp $
+
+ 29 Jan 2008; Diego Pettenò <flameeyes@gentoo.org> files/smartd.rc:
+ Fix init script dependencies to work without a boot runlevel.
28 Dec 2007; Guy Martin <gmsoft@gentoo.org> smartmontools-5.37.ebuild:
Added hppa to KEYWORDS.
diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc
index c0e434058a7b..5c4831e2aa68 100644
--- a/sys-apps/smartmontools/files/smartd.rc
+++ b/sys-apps/smartmontools/files/smartd.rc
@@ -1,7 +1,12 @@
#!/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.6 2006/02/08 10:21:18 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.7 2008/01/29 16:13:42 flameeyes Exp $
+
+depend() {
+ need localmount
+ after bootmisc
+}
opts="${opts} reload"