base-files: add caldata_from_file_ubifs function
authorStijn Tintel <stijn@linux-ipv6.be>
Mon, 8 Apr 2024 16:22:55 +0000 (19:22 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Mon, 15 Apr 2024 11:06:53 +0000 (14:06 +0300)
commit6d025d24ee22f7955faee8263171d6570c1877c7
tree441e6e7774960c3f87cdc733d3feda8fd49bbc45
parent20c0dfb8e19cd1259f8704b8b7ab5d86bda36568
base-files: add caldata_from_file_ubifs function

On some devices, the caldata is provided in a file on ubifs. Add a
function to extract it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
package/base-files/files/lib/functions/caldata.sh