pmos/modem/qcom_rmtfs/qcom_rmtfs.initd
Bhushan Shah 9fc90003a8 modem/qcom_rmtfs: Start rmtfs after udev starts (#1485)
We need udev running so that we can ensure that the partitions are
correctly symlinked before they are used.
2018-05-16 23:13:14 +02:00

15 lines
331 B
Plaintext

#!/sbin/openrc-run
depend() {
after udev
}
# 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 -v 2>&1 | logger -t qcom_rmtfs'"
command_background="yes"
pidfile="/var/run/${SVCNAME}.pid"