openwrt/package/network/services/samba36/files
Rafał Miłecki 5a59e2c059 samba36: append config from /var/run/config/ for runtime shares
This will allow automation/hotplug.d scripts to store runtime shares in
the /var/run/config/samba. It's useful e.g. for USB drives that user
wants to be automatically shared.

Using /var/run/config/ provides:
1) Automated cleaning on reboots
   It's important for consistency (to avoid sharing non-existing drives)
2) Safety for user non-commited changes
   Automated scripts should never call "uci [foo] commit" as that could
   flush incomplete config.

Another minor gain is avoiding flash wearing for runtime setup.

Cc: Rosy Song <rosysong@rosinson.com>
Cc: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2019-01-10 10:33:40 +01:00
..
samba.config merge: packages: update branding in core packages 2017-12-08 19:41:18 +01:00
samba.init samba36: append config from /var/run/config/ for runtime shares 2019-01-10 10:33:40 +01:00
smb.conf.template samba36: Remove syslog and load printers lines. 2017-08-30 18:12:48 +02:00