Merge pull request #3239 from ysc3839/cifsd

luci-app-cifsd: fix read_only option incorrect default value
This commit is contained in:
Jo-Philipp Wich 2019-10-28 10:14:23 +01:00 committed by GitHub
commit 3827bf103c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ return L.view.extend({
o = s.option(form.Flag, 'read_only', _('Read-only'));
o.enabled = 'yes';
o.disabled = 'no';
o.default = 'yes';
o.default = 'no';
s.option(form.Flag, 'force_root', _('Force Root'));