pmaports/modem/rmtfs/rmtfs.initd
Luca Weiss e350b00b9b
treewide: chmod -x files (MR 1237)
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports.
Remove the executable bit from those files.

[ci:skip-build]
[ci:skip-vercheck]
2020-05-23 17:29:18 +02:00

22 lines
555 B
Text

#!/sbin/openrc-run
supervisor=supervise-daemon
name="RMTFS"
description="Qualcomm remote file system service"
# libqipcrtr4msmipc.so may not be present, on devices that don't need it
export LD_PRELOAD=/usr/lib/preload/libqipcrtr4msmipc.so
# -P: find and use raw EFS partitions
# -r: avoid writing to storage
# -s: enable sync for the mss rproc instance
command="/usr/sbin/rmtfs"
command_args="-P -r -s"
# https://github.com/andersson/rmtfs/commit/dfb8f3ed1c8fbde621cd08aaf9e7724a4c55cbd1
respawn_delay=1
depend() {
after udev-settle
need qrtr-ns
}