Skip to content
Snippets Groups Projects
Commit b278a1a4 authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Ruben Barkow
Browse files

Fix config section type

All places in the gluon_ssid_changer source code use the type "settings"
for the main config section of the package. But the upgrade script switches
this to "main" for no obvious reason.
parent 413b4910
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ local uci = require('simple-uci').cursor()
if site.ssid_changer == nil then
-- print('ssid_changer not defined in site.conf')
elseif not uci:get('ssid-changer', 'settings', 'enabled') then
uci:section('ssid-changer', 'main', 'settings', {
uci:section('ssid-changer', 'settings', 'settings', {
enabled = '1',
switch_timeframe = site.ssid_changer.switch_timeframe() or '30',
first = site.ssid_changer.first() or '5',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment