Autoinstall script for OpenWrt 25.12.

This commit is contained in:
gSpot
2025-12-25 02:17:32 +03:00
parent f61b3c3451
commit 0d0a88d26b
5 changed files with 614 additions and 11 deletions
@@ -218,6 +218,13 @@ return view.extend({
o.description = _('Reduces RAM consumption during update');
o.rmempty = false;
// ENABLE_TMP_DOWNLOADS
o = s.taboption('general_tab', form.Flag, 'enable_tmp_downloads',
_('Safe blacklist update'),
_('If update fails, the old blacklist configuration will be retained. Temporary files are used, when updating the blacklist (increases memory consumption).'));
o.rmempty = false;
o.default = 0;
// ALLOWED_HOSTS_MODE
o = s.taboption('general_tab', form.ListValue, 'allowed_hosts_mode',
_('Host filter'));
@@ -231,13 +238,6 @@ return view.extend({
_('IP addresses for host filter'));
o.datatype = 'ip4addr';
// ENABLE_TMP_DOWNLOADS
o = s.taboption('general_tab', form.Flag, 'enable_tmp_downloads',
_('Safe blacklist update'),
_('If update fails, the old blacklist configuration will be retained. Temporary files are used, when updating the blacklist (increases memory consumption).'));
o.rmempty = false;
o.default = 0;
// BYPASS_MODE
o = s.taboption('general_tab', form.Flag, 'bypass_mode',
_('Enable exclusion list'), _('List of hosts that are excluded from block bypass (always available directly)'));