1on post-fs
2    ## ensure correct calibration file permissions
3    chown root system /persist/sensorcal.json
4    chmod 0640 /persist/sensorcal.json
5    ## Update Nanohub FW if needed
6    start flash-nanohub-fw
7
8service flash-nanohub-fw /system/bin/nanoapp_cmd download
9    oneshot
10    disabled
11