summaryrefslogtreecommitdiff
path: root/app-admin/hddtemp/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
commitb24bd25253fe093f722ab576d29fdc41d04cb1ee (patch)
tree0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /app-admin/hddtemp/files
parent121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff)
gentoo resync : 02.08.2019
Diffstat (limited to 'app-admin/hddtemp/files')
-rw-r--r--app-admin/hddtemp/files/hddtemp-init22
-rw-r--r--app-admin/hddtemp/files/hddtemp-init-r111
2 files changed, 11 insertions, 22 deletions
diff --git a/app-admin/hddtemp/files/hddtemp-init b/app-admin/hddtemp/files/hddtemp-init
deleted file mode 100644
index 39a640997cfe..000000000000
--- a/app-admin/hddtemp/files/hddtemp-init
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
-}
-
-start() {
- ebegin "Starting hddtemp daemon"
- /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 --exec ${HDDTEMP_EXEC}
- eend $?
-}
-
-
diff --git a/app-admin/hddtemp/files/hddtemp-init-r1 b/app-admin/hddtemp/files/hddtemp-init-r1
new file mode 100644
index 000000000000..00d09ac2c610
--- /dev/null
+++ b/app-admin/hddtemp/files/hddtemp-init-r1
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="${HDDTEMP_EXEC}"
+command_args="-d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES}"
+procname="hddtemp"
+
+depend() {
+ need localmount
+}