diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-12-25 20:30:12 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-01-10 10:33:40 +0100 |
commit | 5a59e2c059866bb8ca5b41cce34d49b2ddbd3a4e (patch) | |
tree | a4c40d6e27f2710e2abb8238f62235bfa40cd26b /package/network/config | |
parent | 7175b1356ea854c596c48782c43c8ae393412dc1 (diff) | |
download | upstream-5a59e2c059866bb8ca5b41cce34d49b2ddbd3a4e.tar.gz upstream-5a59e2c059866bb8ca5b41cce34d49b2ddbd3a4e.tar.bz2 upstream-5a59e2c059866bb8ca5b41cce34d49b2ddbd3a4e.zip |
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>
Diffstat (limited to 'package/network/config')
0 files changed, 0 insertions, 0 deletions