pmaports/device/community/wl1251-cal/wl1251-cal.initd
Sicelo A. Mhlongo ea25bc48d7
device-nokia-n900: unconditionally fetch wl1251 nvs on each boot (MR 5050)
Reading the wl1251 data on each boot can be useful when using the same SD card
on different devices, allowing each to fetch its correct calibration data.
Additionally, this opens up the possibility to simplify the packaging (in
follow-up commit)
2024-04-20 23:26:07 +09:00

14 lines
152 B
Text

#!/sbin/openrc-run
description="Update wl1251 calibration data"
depend()
{
before modules
after localmount
}
start()
{
calibrate-wl1251
eend $?
}