Fix clam conf in template

tags/smeserver-dl-0.2.1-1
Daniel Berteaud 11 years ago
parent 2772c898b1
commit 6ebe98890e
  1. 2
      root/etc/e-smith/templates/etc/dl.php/60ClamScan

@ -16,7 +16,7 @@ elsif ($max =~ m/K$/){
# 1MB of margin to be sure we don't go over clamd limit
$limit -= 1024 * 1024;
$OUT .=<<"EOF";
\$clamdScan = 'unix:///var/clamav/clamd.socket';
\$clamdSocket = 'unix:///var/clamav/clamd.socket';
\$scanMax = $limit;
EOF
}

Loading…
Cancel
Save