diff options
author | Michael Januszewski <spock@gentoo.org> | 2006-07-15 01:11:28 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2006-07-15 01:11:28 +0000 |
commit | cb2d4ae01a0bacf2b58574375790f6c93d8f5db0 (patch) | |
tree | 059a51642d575cc3456b05fdbe0cf7de2cc94494 | |
parent | Fix makefile patch location. (diff) | |
download | gentoo-2-cb2d4ae01a0bacf2b58574375790f6c93d8f5db0.tar.gz gentoo-2-cb2d4ae01a0bacf2b58574375790f6c93d8f5db0.tar.bz2 gentoo-2-cb2d4ae01a0bacf2b58574375790f6c93d8f5db0.zip |
Separated general options and drives to monitor into two different variables in the config file (bug #140297).
(Portage version: 2.1.1_pre2-r8)
-rw-r--r-- | app-admin/hddtemp/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-conf.d | 9 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-init | 6 |
3 files changed, 15 insertions, 7 deletions
diff --git a/app-admin/hddtemp/ChangeLog b/app-admin/hddtemp/ChangeLog index 0205eefa9d89..60f4f6af7bb5 100644 --- a/app-admin/hddtemp/ChangeLog +++ b/app-admin/hddtemp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/hddtemp # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.41 2006/07/14 23:58:17 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.42 2006/07/15 01:11:28 spock Exp $ + + 15 Jul 2006; Michał Januszewski <spock@gentoo.org> files/hddtemp-conf.d, + files/hddtemp-init: + Separated general options and drives to monitor into two different variables + in the config file (bug #140297). 14 Jul 2006; Michał Januszewski <spock@gentoo.org> hddtemp-0.3_beta14-r1.ebuild, hddtemp-0.3_beta15.ebuild: diff --git a/app-admin/hddtemp/files/hddtemp-conf.d b/app-admin/hddtemp/files/hddtemp-conf.d index 497bb8241a21..b6d23650c8db 100644 --- a/app-admin/hddtemp/files/hddtemp-conf.d +++ b/app-admin/hddtemp/files/hddtemp-conf.d @@ -1,10 +1,13 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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-conf.d,v 1.2 2004/07/14 21:14:10 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/files/hddtemp-conf.d,v 1.3 2006/07/15 01:11:28 spock Exp $ # the hddtemp executable HDDTEMP_EXEC=/usr/sbin/hddtemp +# various options to pass to the daemon +HDDTEMP_OPTS="-l 127.0.0.1" + # a list of drives to check -HDDTEMP_OPTS="/dev/hda /dev/hdb" +HDDTEMP_DRIVES="/dev/hda /dev/hdb" diff --git a/app-admin/hddtemp/files/hddtemp-init b/app-admin/hddtemp/files/hddtemp-init index 37e3535c7ee7..ef3674f22bf6 100644 --- a/app-admin/hddtemp/files/hddtemp-init +++ b/app-admin/hddtemp/files/hddtemp-init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# 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.2 2004/07/14 21:14:10 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/files/hddtemp-init,v 1.3 2006/07/15 01:11:28 spock Exp $ depend() { need localmount @@ -10,7 +10,7 @@ depend() { start() { ebegin "Starting hddtemp daemon" /sbin/start-stop-daemon --start --quiet --name hddtemp \ - --exec ${HDDTEMP_EXEC} -- -d ${HDDTEMP_OPTS} + --exec ${HDDTEMP_EXEC} -- -d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES} eend $? } |