mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Making sure yescrypt is disabled
This commit is contained in:
parent
74e9dd4abf
commit
1c4cce181a
1 changed files with 6 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue