diff options
author | Maxim Devaev <[email protected]> | 2024-12-25 09:16:59 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-12-25 09:16:59 +0200 |
commit | ab08d823c4feeb58e37591adf1ac40a07362733b (patch) | |
tree | ab2bb3c4aa35ae2efd72486e78d1a8a8d6c40be3 /kvmd.install | |
parent | eda7ab3a49efeee6a55546e2ec51364c8dc81307 (diff) |
pikvm/pikvm#1440: Websocket-based transport and decoding for H.264
Diffstat (limited to 'kvmd.install')
-rw-r--r-- | kvmd.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install index 469fba8c..9f7c5f95 100644 --- a/kvmd.install +++ b/kvmd.install @@ -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 |