File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1188,7 +1188,6 @@ if [ "$clamd" = 'yes' ]; then
11881188 gpasswd -a clamav mail
11891189 gpasswd -a clamav Debian-exim
11901190 cp -f $hestiacp /clamav/clamd.conf /etc/clamav/
1191- /usr/bin/freshclam
11921191 update-rc.d clamav-daemon defaults
11931192 if [ ! -d " /var/run/clamav" ]; then
11941193 mkdir /var/run/clamav
@@ -1202,6 +1201,8 @@ if [ "$clamd" = 'yes' ]; then
12021201 systemctl daemon-reload
12031202 fi
12041203 service clamav-daemon start
1204+ echo " Updating ClamAV..."
1205+ /usr/bin/freshclam > /dev/null 2>&1
12051206 check_result $? " clamav-daeom start failed"
12061207fi
12071208
Original file line number Diff line number Diff line change @@ -1198,9 +1198,10 @@ if [ "$clamd" = 'yes' ]; then
11981198 gpasswd -a clamav mail
11991199 gpasswd -a clamav Debian-exim
12001200 cp -f $hestiacp /clamav/clamd.conf /etc/clamav/
1201- /usr/bin/freshclam
12021201 update-rc.d clamav-daemon defaults
12031202 service clamav-daemon start
1203+ echo " Updating ClamAV..."
1204+ /usr/bin/freshclam > /dev/null 2>&1
12041205 check_result $? " clamav-daemon start failed"
12051206fi
12061207
You can’t perform that action at this time.
0 commit comments