mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
ucentral-client: detect 0 byte capabilities file
Fixes: WIFI-14023 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -15,6 +15,7 @@ reload_service() {
|
||||
}
|
||||
|
||||
start_service() {
|
||||
[ -s /etc/ucentral/capabilities.json ] || rm /etc/ucentral/capabilities.json
|
||||
[ -f /etc/ucentral/capabilities.json ] || /usr/share/ucentral/capabilities.uc
|
||||
|
||||
[ -f /etc/ucentral/ucentral.cfg.0000000002 ] && {
|
||||
|
||||
Reference in New Issue
Block a user