summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/foldingathome/files/6.34/fah-init')
-rw-r--r--sci-biology/foldingathome/files/6.34/fah-init27
1 files changed, 0 insertions, 27 deletions
diff --git a/sci-biology/foldingathome/files/6.34/fah-init b/sci-biology/foldingathome/files/6.34/fah-init
deleted file mode 100644
index 60a5a8b51a4b..000000000000
--- a/sci-biology/foldingathome/files/6.34/fah-init
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $
-
-extra_commands="unitinfo"
-
-unitinfo() {
- einfo "$(head -n1 /opt/foldingathome/unitinfo.txt):"
- sed -e '1,2d' /opt/foldingathome/unitinfo.txt
-}
-
-start() {
- ebegin "Starting Folding@Home"
- cd /opt/foldingathome
- start-stop-daemon --chdir ${PWD} --user foldingathome --nicelevel 19 \
- --make-pidfile --pidfile "${PIDFILE}" \
- --start --background --exec ./fah6 -- ${FOLD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Folding@Home"
- start-stop-daemon --stop --user foldingathome --pidfile "${PIDFILE}"
- eend $?
- killall --user foldingathome --signal SIGKILL
-}