summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-08-19 00:43:32 +0300
committerMaxim Devaev <[email protected]>2024-08-19 00:43:32 +0300
commitabedace4b3173fca98eee1ac0b778a45dc93c5b5 (patch)
treece23bafb2b48cb6e9f5f28bf04588b086a5b93f8 /kvmd.install
parentd7675cdf231896851c492e1e0e719d2ccdc28082 (diff)
enable v4p by default
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install4
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