pikvm/pikvm#1440: Websocket-based transport and decoding for H.264

This commit is contained in:
Maxim Devaev
2024-12-25 09:16:59 +02:00
parent eda7ab3a49
commit ab08d823c4
10 changed files with 314 additions and 36 deletions

View File

@@ -102,6 +102,12 @@ EOF
touch -t 200701011000 /etc/fstab
fi
if [[ "$(vercmp "$2" 4.29)" -lt 0 ]]; then
if [ "$(systemctl is-enabled kvmd-janus || true)" = enabled ]; then
systemctl enable kvmd-media || true
fi
fi
# Some update deletes /etc/motd, WTF
# shellcheck disable=SC2015,SC2166
[ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd || true