confd: allow overriding confdrc settings in a confdrc.local

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-11-01 21:50:47 +01:00
committed by Tobias Waldekranz
parent 2c69be68e1
commit 202b08d34d
+5
View File
@@ -36,3 +36,8 @@ STARTUP_CFG=$CFG_PATH_/startup-config.cfg
# Default hostname in Fail Secure mode, plus last three octets in the base
# MAC address, e.g. "failed-c0-ff-ee".
FAIL_HOSTNAME="failed"
# Optional overrides by br2-external
if [ -f /etc/confdrc.local ]; then
. /etc/confdrc.local
fi