pmaports/main/mdss-fb-init-hack/mdss-fb-init-hack.initd
2017-11-21 23:17:59 +00:00

26 lines
435 B
Text

#!/sbin/openrc-run
cmd=/sbin/mdss-fb-hack
pid=/run/mdss-fb-hack.pid
depend() {
after bootmisc
}
start() {
ebegin "Starting mdss-fb hack"
start-stop-daemon --start --exec $cmd --background \
--pidfile $pid --make-pidfile
eend $?
}
stop() {
ebegin "Stopping mdss-fb hack"
start-stop-daemon --stop --exec $cmd
eend $?
}
restart() {
stop
start
}