pmaports/temp/iio-sensor-proxy/iio-sensor-proxy.initd
Vitalii Skorkin 6587348337
temp/iio-sensor-proxy: increase delay (MR 5941)
On miatoll hexagonrpcd takes longer time to start
2024-12-26 17:39:11 +03:00

16 lines
470 B
Text

#!/sbin/openrc-run
supervisor=supervise-daemon
command="/usr/libexec/iio-sensor-proxy"
# In some devices like OP6T/AYN Odin/Miatoll hexagonrpcd might take longer time to get initialized
# and iio-sensor-proxy may die before that. Let's workaround it by adding a 15 seconds delay.
# It doesnt break other devices and makes it work in devices like the OP6T, AYN Odin and Miatoll.
# This is just a temporary workaround.
start_pre() {
sleep 15
}
depend() {
need dbus
}