enable v4p by default

This commit is contained in:
Maxim Devaev
2024-08-19 00:43:32 +03:00
parent d7675cdf23
commit abedace4b3
6 changed files with 10 additions and 22 deletions

View File

@@ -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