From 96419ba1d32ef727c1bab35076bdd5a01c571f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 8 Sep 2021 11:05:44 +0200 Subject: [PATCH] web: remove no longer needed code The toolbar buttons have moved to config.js and are commented out by default. --- web/rootfs/etc/cont-init.d/10-config | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web/rootfs/etc/cont-init.d/10-config b/web/rootfs/etc/cont-init.d/10-config index 3a252a0..c9e5fb1 100644 --- a/web/rootfs/etc/cont-init.d/10-config +++ b/web/rootfs/etc/cont-init.d/10-config @@ -89,12 +89,3 @@ fi if [[ -f /config/custom-interface_config.js ]]; then cat /config/custom-interface_config.js >> /config/interface_config.js fi - -# It will remove parameter 'closedcaptions' from TOOLBAR_BUTTONS if ENABLE_TRANSCRIPTIONS is false, -# because it enabled by default, but not supported out of the box. -if [[ $ENABLE_TRANSCRIPTIONS -ne 1 && "$ENABLE_TRANSCRIPTIONS" != "true" ]]; then - sed -i \ - -e "s#'closedcaptions', ##" \ - /config/interface_config.js -fi -