pmaports/main/mdss-fb-init-hack/mdss-fb-init-hack.initd

27 lines
435 B
Text
Raw Normal View History

2017-11-21 23:17:59 +00:00
#!/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
}