gluon/package/gluon-core/luasrc
David Bauer ff9f295f7d gluon-core: util: check if file exists prior to reading
The file_contains_line helper function was not testing whether a file
exists or not prior attempting to read from it.

Add this check to circumvent errors on the private WiFi config in
case the hwflags file is missing.

Reported-by: Tom Herbers <freifunk@tomherbers.de>
Tested-by: Tom Herbers <freifunk@tomherbers.de>
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-07-01 03:14:08 +02:00
..
lib/gluon/upgrade gluon-core: use HE radio mode if available 2021-06-29 22:23:05 +02:00
usr gluon-core: util: check if file exists prior to reading 2021-07-01 03:14:08 +02:00