mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -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
|
echo "1" > /usr/local/vesta/data/upgrades/show_changelog
|
||||||
chmod a=rw /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
|
# Checking if FreshClam is started after installation
|
||||||
if [ ! -f "/usr/local/vesta/data/upgrades/freshclam_start" ]; then
|
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')
|
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