mirror of https://github.com/Anime4000/RTL960x.git
patch some syntax
This commit is contained in:
parent
2f2b9d7b34
commit
ada3a603a5
|
@ -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.
Loading…
Reference in New Issue