Move sed replacements to separate file

This commit is contained in:
Wyrrrd
2022-01-25 21:52:13 +01:00
parent f26556f059
commit 2fdcb506c5
2 changed files with 17 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sed -f
# Remove CtrlAltDelButton
/getElementById('sendCtrlAltDelButton')/,+1d
/<div id="sendCtrlAltDelButton.*$/d
# Replace window title, append favicon
s/\(<title>\)noVNC/\1Wohnungsbot/;T;a <link rel="icon" type="image\/x-icon" href="favicon.ico">