mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 07:03:56 +08:00
Update samba4.patch
This commit is contained in:
1 parent
fe14cd3837
commit
b594939e62
1 file changed
+14
-2
@@ -1,5 +1,17 @@
|
|||||||
--- a/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js
|
--- a/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js
|
||||||
+++ b/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js
|
+++ b/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js
|
||||||
|
@@ -54,6 +54,11 @@ return view.extend({
|
||||||
|
o = s.taboption('general', form.Value, 'description', _('Description'));
|
||||||
|
o.placeholder = 'Samba4 on OpenWrt';
|
||||||
|
|
||||||
|
+ o = s.taboption('general', form.Flag, 'autoshare', _('Auto Share'),
|
||||||
|
+ _('Auto share local disk which connected'));
|
||||||
|
+ o.default = 'yes';
|
||||||
|
+ o.rmempty = false;
|
||||||
|
+
|
||||||
|
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!'));
|
||||||
@@ -113,6 +113,10 @@ return view.extend({
|
@@ -113,6 +113,10 @@ return view.extend({
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user