Added Gentoo init file
This commit is contained in:
parent
6ea021ad78
commit
542d06e5e0
1 changed files with 18 additions and 0 deletions
18
mbpfan.init.gentoo
Executable file
18
mbpfan.init.gentoo
Executable file
|
@ -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 $?
|
||||
}
|
||||
|
Loading…
Reference in a new issue