Skip to content

Commit

Permalink
ffac-eol-ssid: fix missing eol-ssid uci subsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
grische committed Nov 5, 2023
1 parent ca08c54 commit e33c814
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions ffac-eol-ssid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ define Package/$(PKG_NAME)
DEPENDS:=+gluon-core
endef

define Package/ffac-eol-ssid/conffiles
/etc/config/eol-ssid
endef

$(eval $(call BuildPackageGluon,ffac-eol-ssid))
2 changes: 2 additions & 0 deletions ffac-eol-ssid/files/etc/config/eol-ssid
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config settings
option disabled '0'
4 changes: 0 additions & 4 deletions ffac-eol-ssid/luasrc/lib/gluon/upgrade/950-eol-ssid-nagger
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ end
local eol_wifi_ssid = site.eol_wifi_ssid()

if not uci:get_bool('eol-wifi', 'ssid', 'disabled') then
uci:section('eol-wifi', 'ssid', 'ssid', {
disabled = false,
})
uci:save('eol-wifi')
-- Change client radio ssid
uci:set('wireless', 'client_radio0', 'ssid', eol_wifi_ssid)
uci:save('wireless')
Expand Down

0 comments on commit e33c814

Please sign in to comment.