diff options
Diffstat (limited to 'app-admin/hddtemp')
-rw-r--r-- | app-admin/hddtemp/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-init | 11 |
2 files changed, 10 insertions, 7 deletions
diff --git a/app-admin/hddtemp/ChangeLog b/app-admin/hddtemp/ChangeLog index 2a4a7eaebf14..9b507160ac8e 100644 --- a/app-admin/hddtemp/ChangeLog +++ b/app-admin/hddtemp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/hddtemp # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.55 2007/03/24 18:43:40 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.56 2007/03/25 19:35:47 spock Exp $ + + 25 Mar 2007; Michał Januszewski <spock@gentoo.org> files/hddtemp-init: + Use --exec instead of --name in the initscript to make it compatible with + baselayout-2. 24 Mar 2007; nixnut <nixnut@gentoo.org> hddtemp-0.3_beta15-r1.ebuild: Stable on ppc wrt bug 171661 diff --git a/app-admin/hddtemp/files/hddtemp-init b/app-admin/hddtemp/files/hddtemp-init index ef3674f22bf6..bbb11906ae3c 100644 --- a/app-admin/hddtemp/files/hddtemp-init +++ b/app-admin/hddtemp/files/hddtemp-init @@ -1,23 +1,22 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/files/hddtemp-init,v 1.3 2006/07/15 01:11:28 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/files/hddtemp-init,v 1.4 2007/03/25 19:35:47 spock Exp $ depend() { - need localmount + need localmount } start() { ebegin "Starting hddtemp daemon" - /sbin/start-stop-daemon --start --quiet --name hddtemp \ - --exec ${HDDTEMP_EXEC} -- -d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES} - + /sbin/start-stop-daemon --start --quiet --exec ${HDDTEMP_EXEC} \ + -- -d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES} eend $? } stop() { ebegin "Stopping hddtemp daemon" - start-stop-daemon --stop --quiet --name hddtemp + start-stop-daemon --stop --quiet --exec ${HDDTEMP_EXEC} eend $? } |