summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/clrngd/files/clrngd-init.d')
-rw-r--r--sys-apps/clrngd/files/clrngd-init.d19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-apps/clrngd/files/clrngd-init.d b/sys-apps/clrngd/files/clrngd-init.d
new file mode 100644
index 000000000000..716eaeb86f27
--- /dev/null
+++ b/sys-apps/clrngd/files/clrngd-init.d
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DAEMON=clrngd
+OPTS=${DELAYTIME}
+
+start() {
+ ebegin "Starting ${DAEMON}"
+ start-stop-daemon --start --quiet --exec /usr/sbin/${DAEMON} ${OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${DAEMON}"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/${DAEMON}
+ eend $?
+}