packages/net/ksmbd-tools/files
Rafał Miłecki c9cba61989 ksmbd-tools: append config from /var/run/config/ for runtime shares
Dynamically created shares shouldn't be stored in the /etc/config/
because of:
1. Flash wearing
2. Risk of inconsistent state on reboots

With this change all automation/hotplug.d scripts can store runtime in
the /var/run/config/samba. It's useful e.g. for USB drives that user
wants to be automatically shared.

Also: automated scripts should never call "uci [foo] commit" as that
could flush incomplete config. This problem also gets solved.

Identical feature was added to samba36 in the OpenWrt commit
5a59e2c059866 ("samba36: append config from /var/run/config/ for runtime
shares") but wasn't ported to ksmbd until now.

Cc: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-08-11 14:05:45 -07:00
..
ksmbd.config smbd: update to 3.1.1, rename to "ksmbd", "ksmbd-tools" 2020-01-26 16:32:53 +01:00
ksmbd.config.example smbd: update to 3.1.1, rename to "ksmbd", "ksmbd-tools" 2020-01-26 16:32:53 +01:00
ksmbd.init ksmbd-tools: append config from /var/run/config/ for runtime shares 2022-08-11 14:05:45 -07:00
smb.conf.template smbd: update to 3.1.1, rename to "ksmbd", "ksmbd-tools" 2020-01-26 16:32:53 +01:00
smb.service ksmbd-tools: add avahi service file package 2020-01-29 21:57:25 +01:00