pmaports/modem/qcom_rmtfs/qcom_rmtfs.initd
Luca Weiss aa0058de07
modem/qcom_rmtfs: use new command line flags (!592)
The changes in command line parameters of rmtfs mean: use the modem*
partitions directly (-P), in read-only mode (-r)...and it will boot the
modem automagically when ready (-s)

I've removed the udev rules in the rmtfs package because it doesn't look
like they are needed with those command line flags.
2019-10-30 22:31:32 +01:00

14 lines
347 B
Text
Executable file

#!/sbin/openrc-run
depend() {
after udev-settle
}
# libqipcrtr4msmipc.so may not be present, on devices that don't need it
export LD_PRELOAD=/usr/lib/preload/libqipcrtr4msmipc.so
command="/bin/sh"
command_args="-c 'exec /usr/sbin/qcom_rmtfs -P -r -s -v 2>&1 | logger -t qcom_rmtfs'"
command_background="yes"
pidfile="/var/run/${SVCNAME}.pid"