Skip to content

Commit

Permalink
draft: config changes detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Akira25 committed Sep 23, 2024
1 parent 4ae8021 commit e50bc34
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

return view.extend({
render: function () {
var m, s, o1, o2, o3, o4;
var m, s, t, o1, o2, o3, o4, o5;

addNotification('Warnasdfads', )

m = new form.Map('autoupdate', _('Freifunk Berlin Autoupdate'),
_("Autoupdate will update your router automatically, once there is a new\
Expand Down Expand Up @@ -36,6 +38,14 @@ return view.extend({
_('Deactivates the Autoupdater. We do not recommend this!'));
o4.rmempty = false;

o5 = s.option(form.Flag, 'ignore_mod', _('Ignore config changes'),
_("The autoupdater will detect custom changes you've applied to your router since you've run the wizard.\
It will refuse an autoupdate then, to avoid breaking your customized setup. If you wish to automatically\
update anyway, activate this option. We do not recommend this, as this might break your setup on auto-updates."));


// t = m.section(form.TypedSection, 'autoupdatehints', _())

return m.render();
}
});
2 changes: 2 additions & 0 deletions packages/falter-berlin-autoupdate/files/autoupdate.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ config generic cfg
option minimum_certs 3
option disabled 0
option ignore_mod 0

config autoupdatehints cfh
option mod_warning 0
option no_autou_avail 0

0 comments on commit e50bc34

Please sign in to comment.