From ec03451ee087b799432d58326e0f00d932b3d1b7 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Sat, 27 Jun 2020 23:06:16 +0200 Subject: luci-app-samba4: add new UCI option "enable_extra_tuning" * add new UCI option "enable_extra_tuning" Signed-off-by: Andy Walsh --- .../luci-app-samba4/htdocs/luci-static/resources/view/samba4.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-samba4/htdocs/luci-static/resources/view') diff --git a/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js b/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js index 7b6430b966..608be887be 100644 --- a/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js +++ b/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js @@ -39,13 +39,17 @@ return view.extend({ o = s.taboption('general', form.Value, 'description', _('Description')); o.placeholder = 'Samba4 on OpenWrt'; + s.taboption('general', form.Flag, 'enable_extra_tuning', _('Enable extra Tuning'), + _('Enable some community driven tuning parameters, that may improve write speeds and better operation via WiFi.\ + Not recommend if multiple clients write to the same files, at the same time!')); + s.taboption('general', form.Flag, 'disable_async_io', _('Force synchronous I/O'), _('On lower-end devices may increase speeds, by forceing synchronous I/O instead of the default asynchronous.')); - o = s.taboption('general', form.Flag, 'macos', _('Enable macOS compatible shares'), + s.taboption('general', form.Flag, 'macos', _('Enable macOS compatible shares'), _('Enables Apple\'s AAPL extension globally and adds macOS compatibility options to all shares.')); - o = s.taboption('general', form.Flag, 'allow_legacy_protocols', _('Allow legacy (insecure) protocols/authentication.'), + s.taboption('general', form.Flag, 'allow_legacy_protocols', _('Allow legacy (insecure) protocols/authentication.'), _('Allow legacy smb(v1)/Lanman connections, needed for older devices without smb(v2.1/3) support.')); if (stats[2].type === 'file') { -- cgit v1.2.3