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 $? +} +