saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
@@ -88,8 +88,8 @@ elif [ "$cron_daily_scan" == "1" ]; then
|
||||
elif [ -d "/var/customers/webs" ]; then
|
||||
# froxlor
|
||||
$inspath/maldet -b -r /var/customers/webs/ $scan_days >> /dev/null 2>&1
|
||||
elif [ -d "/usr/local/vesta" ]; then
|
||||
# VestaCP
|
||||
elif [ -d "/usr/local/vesta" ] || [ -d "/usr/local/hestia" ]; then
|
||||
# VestaCP or HestiaCP
|
||||
$inspath/maldet -b -r /home/?/web/?/public_html/,/home/?/web/?/public_shtml/,/home/?/tmp/,/home/?/web/?/private/ $scan_days >> /dev/null 2>&1
|
||||
elif [ -d "/usr/share/dtc" ]; then
|
||||
# DTC
|
||||
@@ -99,7 +99,7 @@ elif [ "$cron_daily_scan" == "1" ]; then
|
||||
$inspath/maldet -b -r ${conf_hosting_path:-/var/www/sites}/?/?/subdomains/?/html/ $scan_days >> /dev/null 2>&1
|
||||
else
|
||||
# cpanel, interworx and other standard home/user/public_html setups
|
||||
$inspath/maldet -b -r /home?/?/public_html/,/var/www/html/,/usr/local/apache/htdocs/ $scan_days >> /dev/null 2>&1
|
||||
$inspath/maldet -b -r /home?/?/public_html/,/var/www/,/usr/local/apache/htdocs/ $scan_days >> /dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user