pmaports/device/community/device-nokia-n900/n900-wlan-data.initd

20 lines
265 B
Text

#!/sbin/openrc-run
description="Update N900 WLAN calibration data"
depend()
{
before modules
after localmount
}
start()
{
if [ ! -f /var/lib/n900_cal/done ]
then
n900-update-wl1251
mkdir -p /var/lib/n900_cal
touch /var/lib/n900_cal/done
fi
eend $?
}