aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/network/services/samba36/files/samba.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/samba36/files/samba.init b/package/network/services/samba36/files/samba.init
index 1c5bb3b3c4..abe8e8f5c7 100755
--- a/package/network/services/samba36/files/samba.init
+++ b/package/network/services/samba36/files/samba.init
@@ -84,6 +84,8 @@ smb_add_share() {
init_config() {
config_load samba
+ CONFIG_APPEND=1 UCI_CONFIG_DIR=/var/run/config config_load samba
+
config_foreach smb_header samba
config_foreach smb_add_share sambashare
}