diff options
author | Andy Walsh <andy.walsh44+github@gmail.com> | 2020-06-27 23:06:16 +0200 |
---|---|---|
committer | Andy Walsh <andy.walsh44+github@gmail.com> | 2020-06-27 23:06:16 +0200 |
commit | ec03451ee087b799432d58326e0f00d932b3d1b7 (patch) | |
tree | abfac3debab4ef222d1373a78695d1f671f5ea07 /applications/luci-app-samba4/htdocs/luci-static/resources/view | |
parent | 1452b7b5230fc9066976398d96e5e4a6683bd491 (diff) |
luci-app-samba4: add new UCI option "enable_extra_tuning"
* add new UCI option "enable_extra_tuning"
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Diffstat (limited to 'applications/luci-app-samba4/htdocs/luci-static/resources/view')
-rw-r--r-- | applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js | 8 |
1 files changed, 6 insertions, 2 deletions
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') { |