global-config: load overlay automatically

This commit is contained in:
Christian Hesse 2021-12-07 15:40:14 +01:00
parent 8f8130775f
commit 1f5cc39b3c
4 changed files with 14 additions and 6 deletions

View file

@ -193,3 +193,11 @@
"cert1-cn"="v3ry-s3cr3t";
"cert2-cn"="4n0th3r-s3cr3t";
}
# load custom settings from overlay
# Warning: Do *NOT* copy this code to overlay!
:do {
/ system script run global-config-overlay;
} on-error={
:log error ("Loading configuration from overlay failed!");
}