main/msm-fb-refresher: modernize openrc service (MR 1482)
This commit is contained in:
parent
5056fcb576
commit
ee5ae81e2a
2 changed files with 5 additions and 23 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=msm-fb-refresher
|
||||
pkgver=0.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Display refresher for Qualcomm devices"
|
||||
arch="all"
|
||||
url="https://github.com/AsteroidOS/msm-fb-refresher"
|
||||
|
@ -35,6 +35,6 @@ package() {
|
|||
"$initfsdir/files/00-msm-fb-refresher.files"
|
||||
}
|
||||
sha512sums="5e2920cf86f2e373e2411a89cf3ac6745af042ff7d91ae581f26b72772bc9ab621ea4154bc33ef57dce0c04ba3f88ee3b9f98c2a17b2579df368b0929cf0bfa7 msm-fb-refresher-0.2.tar.gz
|
||||
5820e02dcb1cd927bcd6c8548307936a12f0dde1b92f15a931134b8d4a41f4b5e8811c6969d9b11a6a31d40da218b24ee274614936f6e50bcd6e794346f99c13 msm-fb-refresher.init
|
||||
e4dc12848d5615ff758ad3ba4165bef5501c92350f46072d30d9924821bf63ad89fe69e78f248562c8377d537bf8c3cefd275130a97040741bd80ff32a1838a3 msm-fb-refresher.init
|
||||
1b6168037293db465a5a55d5c263cb60ac46cccb601329b193110bbdffc23207b3d38419d2ad128020bf4ddbcdb868e8fa2f561764adf02c7db0526b0177ee5a 00-msm-fb-refresher.sh
|
||||
906c0d672682a9f0e3e8e07e207a557b8a1659e2e6021cb95c4b9886aed3b9ea477638c00ce9e4193b52dcfab7da317d9840cc576f29c7c7158cc11fd368be84 00-msm-fb-refresher.files"
|
||||
|
|
|
@ -1,27 +1,9 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
cmd=/usr/sbin/msm-fb-refresher
|
||||
cmd_args="--loop"
|
||||
pid=/run/msm-fb-refresher.pid
|
||||
command="/usr/sbin/msm-fb-refresher"
|
||||
command_args="--loop"
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
depend() {
|
||||
after bootmisc
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting msm-fb-refresher"
|
||||
start-stop-daemon --start --exec $cmd --background \
|
||||
--pidfile $pid --make-pidfile -- $cmd_args
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping msm-fb-refresher"
|
||||
start-stop-daemon --stop --exec $cmd
|
||||
eend $?
|
||||
}
|
||||
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue