mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 21:26:21 +00:00
Make "Automatic reconnect" true by default
This commit is contained in:
parent
e8ee5bc103
commit
822db54060
1 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,9 @@ sed -i "/UI.initSetting\|resize/ s/resize', '.*');/resize', 'scale');/" /usr/sha
|
||||||
# Always default to autoconnect=true
|
# Always default to autoconnect=true
|
||||||
sed -i "/let autoconnect/ s/autoconnect', .*);/autoconnect', true);/" /usr/share/novnc/app/ui.js
|
sed -i "/let autoconnect/ s/autoconnect', .*);/autoconnect', true);/" /usr/share/novnc/app/ui.js
|
||||||
|
|
||||||
|
# Always default to reconnect=true
|
||||||
|
sed -i "/UI.initSetting\|reconnect/ s/reconnect', '.*');/reconnect', 'true');/" /usr/share/novnc/app/ui.js
|
||||||
|
|
||||||
# Change vnc shared view settings (defaults to false/off)
|
# Change vnc shared view settings (defaults to false/off)
|
||||||
sed -i "/UI.initSetting\|shared/ s/shared', .*);/shared', ${_MYVNC_VNCSHARING});/" /usr/share/novnc/app/ui.js
|
sed -i "/UI.initSetting\|shared/ s/shared', .*);/shared', ${_MYVNC_VNCSHARING});/" /usr/share/novnc/app/ui.js
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue