pmaports/modem/rmtfs/rmtfs.initd
Minecrell e8cdc37dbe
modem/rmtfs: rename from qcom_rmtfs (!1032)
Other distributions do not make use of the qcom_ prefix.
Also it's not like there are other projects named the same.
2020-03-18 14:09:26 +01:00

22 lines
555 B
Text
Executable file

#!/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
}