From c6c5f3f5e945e7d0f4e7c65603932c74e0fa12a0 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:56:16 +0800 Subject: [PATCH] Update samba4.patch --- .github/diy/patches/samba4.patch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/diy/patches/samba4.patch b/.github/diy/patches/samba4.patch index 443a885e..fb096e64 100644 --- a/.github/diy/patches/samba4.patch +++ b/.github/diy/patches/samba4.patch @@ -1,5 +1,17 @@ ---- a/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js -+++ b/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js +--- a/applications/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({ o.rmempty = false;