Skip to content

Commit 96419ba

Browse files
authored
web: remove no longer needed code
The toolbar buttons have moved to config.js and are commented out by default.
1 parent 1835d65 commit 96419ba

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,3 @@ fi
8989
if [[ -f /config/custom-interface_config.js ]]; then
9090
cat /config/custom-interface_config.js >> /config/interface_config.js
9191
fi
92-
93-
# It will remove parameter 'closedcaptions' from TOOLBAR_BUTTONS if ENABLE_TRANSCRIPTIONS is false,
94-
# because it enabled by default, but not supported out of the box.
95-
if [[ $ENABLE_TRANSCRIPTIONS -ne 1 && "$ENABLE_TRANSCRIPTIONS" != "true" ]]; then
96-
sed -i \
97-
-e "s#'closedcaptions', ##" \
98-
/config/interface_config.js
99-
fi
100-

0 commit comments

Comments
 (0)