소스 검색

web: remove no longer needed code

The toolbar buttons have moved to config.js and are commented out by default.
Saúl Ibarra Corretgé 3 년 전
부모
커밋
96419ba1d3
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      web/rootfs/etc/cont-init.d/10-config

+ 0 - 9
web/rootfs/etc/cont-init.d/10-config

@@ -89,12 +89,3 @@ fi
 if [[ -f /config/custom-interface_config.js ]]; then
 if [[ -f /config/custom-interface_config.js ]]; then
     cat /config/custom-interface_config.js >> /config/interface_config.js
     cat /config/custom-interface_config.js >> /config/interface_config.js
 fi
 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
-