diff options
Diffstat (limited to 'sys-apps/mondo/files/mondo.sh')
-rw-r--r-- | sys-apps/mondo/files/mondo.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-apps/mondo/files/mondo.sh b/sys-apps/mondo/files/mondo.sh deleted file mode 100644 index a70f7bfa58f8..000000000000 --- a/sys-apps/mondo/files/mondo.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/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/mondo/files/mondo.sh,v 1.4 2004/07/15 00:45:03 agriffis Exp $ - -depend() { - need modules -} - -start() { - ebegin "Starting mondo" - - if [ -z "$(cat /proc/sys/dev/sensors/chips)" ] ; then - eend 1 "You need to setup lm_sensors first" - return 1 - fi - - start-stop-daemon --start --quiet --exec /usr/sbin/mondo \ - -- -c /etc/mondo.conf -s /etc/sensors.conf - eend ${?} -} - -stop() { - ebegin "Stopping mondo" - start-stop-daemon --stop --quiet --pidfile /var/run/mondo.pid - eend ${?} -} |