000ncp: Copy new config files to persistent config

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-01-20 03:55:12 +01:00
parent 624b560e01
commit 30fe8c763c
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -3,6 +3,7 @@
source /usr/local/etc/library.sh
# INIT NCP CONFIG (first run)
cp -u /usr/local/ncp-config.d/*.cfg /data/ncp/
persistent_cfg /usr/local/etc/ncp-config.d /data/ncp
persistent_cfg /etc/letsencrypt # persist SSL certificates
persistent_cfg /etc/shadow # persist ncp-web password