mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-28 01:42:51 +08:00
Update samba4.patch
This commit is contained in:
1 parent
190ca87b14
commit
2f6ffdb911
1 file changed
+4
-2
@@ -12,10 +12,12 @@
|
||||
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({
|
||||
@@ -112,7 +117,11 @@ return view.extend({
|
||||
o.default = 'no'; // smb.conf default is 'yes'
|
||||
o.rmempty = false;
|
||||
|
||||
s.option(form.Flag, 'force_root', _('Force Root'));
|
||||
- s.option(form.Flag, 'force_root', _('Force Root'));
|
||||
+ o = s.option(form.Flag, 'force_root', _('Force Root'));
|
||||
+ o.enabled = 'yes';
|
||||
+ o.disabled = 'no';
|
||||
+ o.default = 'yes';
|
||||
|
||||
Reference in new issue
Block a user