diff options
author | Maxim Devaev <[email protected]> | 2024-08-19 00:43:32 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-08-19 00:43:32 +0300 |
commit | abedace4b3173fca98eee1ac0b778a45dc93c5b5 (patch) | |
tree | ce23bafb2b48cb6e9f5f28bf04588b086a5b93f8 /kvmd.install | |
parent | d7675cdf231896851c492e1e0e719d2ccdc28082 (diff) |
enable v4p by default
Diffstat (limited to 'kvmd.install')
-rw-r--r-- | kvmd.install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install index 55bd999d..ca0593f7 100644 --- a/kvmd.install +++ b/kvmd.install @@ -92,6 +92,10 @@ disable_overscan=1 EOF fi + if [[ "$(vercmp "$2" 4.4)" -lt 0 ]]; then + systemctl disable kvmd-pass || true + 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 |