Skip to content

Commit

Permalink
ffac-eol-ssid: fix unable to disable eol SSID
Browse files Browse the repository at this point in the history
  • Loading branch information
grische authored and maurerle committed Nov 20, 2023
1 parent ab6d2a2 commit c7695ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffac-eol-ssid/luasrc/lib/gluon/upgrade/950-eol-ssid-nagger
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if uci:get('eol-wifi', 'ssid') ~= nil then
end

if not site.eol_ssid.enabled(false) -- disabled for site/domain
or uci:get('eol-ssid', 'settings', 'enabled') == 0 -- present & disabled on router
or uci:get('eol-ssid', 'settings', 'enabled') == "0" -- present & disabled on router
then
os.exit(0) -- do not change SSID
end
Expand Down

0 comments on commit c7695ab

Please sign in to comment.