patch some syntax

This commit is contained in:
Anime4000 2022-09-07 00:44:22 +08:00
parent 2f2b9d7b34
commit ada3a603a5
3 changed files with 2 additions and 1 deletions

View File

@ -155,9 +155,10 @@ sed -i 's/<Value Name="LAN_SDS_MODE" Value="5"\/>/<Value Name="LAN_SDS_MODE" Val
sed -i 's/<title>BroadBand Device Webserver<\/title>/<title>xPON ONU BRIDGE<\/title>/g' "$CHDIR/home/httpd/web/index.html"
echo "Fix HTML Syntax"
find "$CHDIR/home/httpd/web" -type f -exec sed -i 's/<BODY/<body/g' {} +
find "$CHDIR/home/httpd/web" -type f -exec sed -i 's/<! Copyright/<!-- Copyright/g' {} +
find "$CHDIR/home/httpd/web" -type f -exec sed -i 's/Reserved. ->/Reserved. -->/g' {} +
find "$CHDIR/home/httpd/web" -type f -exec sed -i 's/<body /<body style="font-family: Arial, Helvetica, sans-serif;" /g' {} +
find "$CHDIR/home/httpd/web" -type f -exec sed -i 's/<body/<body style="font-family: Verdana, sans-serif;" /g' {} +
echo "Unmounting..."
rm -rf "$CHDIR/usr/bin"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.