pmaports/modem/qcom_rmtfs/qcom_rmtfs.initd
Danct12 fc839c2ea6
modem/*: upgrade, modernize, clean up (!549)
Thanks to z3ntu and scintill for additional patches, that have been
squashed into this one (see MR for details).
2019-08-31 19:25:30 +02:00

14 lines
362 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 -o /dev/disk/qcom_rmtfs -v 2>&1 | logger -t qcom_rmtfs'"
command_background="yes"
pidfile="/var/run/${SVCNAME}.pid"