Making sure yescrypt is disabled

This commit is contained in:
myvesta 2022-04-25 22:34:33 +02:00 committed by GitHub
commit 1c4cce181a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,12 @@ fi
echo "1" > /usr/local/vesta/data/upgrades/show_changelog
chmod a=rw /usr/local/vesta/data/upgrades/show_changelog
# Making sure yescrypt is disabled
if [ "$release" -eq 11 ]; then
sed -i "s/yescrypt/sha512/g" /etc/pam.d/common-password
fi
# Checking if FreshClam is started after installation
if [ ! -f "/usr/local/vesta/data/upgrades/freshclam_start" ]; then
clamavup=$(/usr/local/vesta/bin/v-list-sys-services | grep 'clamav-daemon' | grep -c 'running')