e8cdc37dbe
Other distributions do not make use of the qcom_ prefix. Also it's not like there are other projects named the same.
22 lines
555 B
Text
Executable file
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
|
|
}
|