Skip to content

Commit ff8c1c2

Browse files
committed
web: regenerate interface_config.js on every boot
Customization is still available via custom-interface_config.js. This way we will slowly get rid of the deprecated interface_config.js as all options move to config.js.
1 parent bda1502 commit ff8c1c2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

web/rootfs/etc/cont-init.d/10-config

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ if [[ -f /config/custom-config.js ]]; then
8282
cat /config/custom-config.js >> /config/config.js
8383
fi
8484

85-
if [[ ! -f /config/interface_config.js || -f /config/custom-interface_config.js ]]; then
86-
cp /defaults/interface_config.js /config/interface_config.js
87-
fi
88-
85+
cp /defaults/interface_config.js /config/interface_config.js
8986
if [[ -f /config/custom-interface_config.js ]]; then
9087
cat /config/custom-interface_config.js >> /config/interface_config.js
9188
fi

0 commit comments

Comments
 (0)