From 542d06e5e087e122d20c8d69fdec616544860556 Mon Sep 17 00:00:00 2001 From: Magnus Stubman Date: Tue, 31 Jul 2012 18:54:18 +0200 Subject: [PATCH] Added Gentoo init file --- mbpfan.init.gentoo | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 mbpfan.init.gentoo diff --git a/mbpfan.init.gentoo b/mbpfan.init.gentoo new file mode 100755 index 0000000..30a35ea --- /dev/null +++ b/mbpfan.init.gentoo @@ -0,0 +1,18 @@ +#!/sbin/runscript + +depend() { + use logger +} + +start() { + ebegin "Starting mbpfan" + start-stop-daemon --start --quiet --exec /usr/sbin/mbpfan + eend $? +} + +stop() { + ebegin "Stopping mbpfan" + start-stop-daemon --stop --quiet --exec /usr/sbin/mbpfan + eend $? +} +