pmaports/modem/qcom_rmtfs/qcom_rmtfs.initd
Bhushan Shah c429bfa005 modem/qcom_rmtfs: Depend on udev-settle instead of udev (#1485)
This makes sure that symlinks which are needed by rmtfs is created
before rmtfs is started (modem partitions)
2018-05-16 23:13:23 +02:00

14 lines
338 B
Text

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