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 /app-admin/hddtemp/files | |
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)
Diffstat (limited to 'app-admin/hddtemp/files')
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-conf.d | 9 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-init | 6 |
2 files changed, 9 insertions, 6 deletions
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 $? } |