Add section-specific post args

This commit is contained in:
Vadim Vetrov
2025-01-07 13:37:08 +03:00
parent 6664a921d0
commit 13fbd7b45b
2 changed files with 11 additions and 2 deletions

View File

@@ -215,10 +215,12 @@ return view.extend({
let o;
o = s.option(form.Flag, "silent", _("Silent"), _("Disables verbose mode"));
o.depends("trace", 0);
o.defalt = "0"
o.depends("trace", "0");
o = s.option(form.Flag, "trace", _("Trace"), _("Maximum verbosity for debug purposes"));
o.depends("silent", 0);
o.defalt = "0"
o.depends("silent", "0");
o = s.option(form.Flag, "no_gso", _("No gso"), _("Disables support for Google Chrome fat packets which uses GSO. This feature is well tested now, so this flag probably won't fix anything."));
@@ -276,6 +278,10 @@ return view.extend({
o.placeholder = _('Unnamed section');
o.modalonly = true;
o = subsects_section.taboption('general', form.Value, "section_post_args", _("Section post args"), _("Section-specific post arguments"));
o.modalonly = true;
this.renderSectionTLSConfigs({option(optionclass, ...classargs) {
const o = subsects_section.taboption('general', optionclass, ...classargs);