mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
clamav: Align with milter options and remove LogFile* options
( to instead use syslog options ) Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
config clamav 'clamav'
|
||||
option clamd_config_file '/etc/clamav/clamd.conf'
|
||||
option LogFile '/tmp/clamd.log'
|
||||
option LogFileMaxSize '1M'
|
||||
option LogTime 'no'
|
||||
option LogVerbose 'no'
|
||||
option ExtendedDetectionInfo 'no'
|
||||
|
||||
@@ -11,8 +11,6 @@ CLAMD_CONFIGFILE="/tmp/clamav/clamd.conf"
|
||||
validate_clamav_section() {
|
||||
uci_load_validate clamav clamav "$1" "$2" \
|
||||
'clamd_config_file:string' \
|
||||
'LogFile:string' \
|
||||
'LogFileMaxSize:string' \
|
||||
'LogVerbose:string' \
|
||||
'ExtendedDetectionInfo:string' \
|
||||
'LogTime:string' \
|
||||
@@ -63,8 +61,6 @@ start_clamav_instance() {
|
||||
ln -sf "$clamd_config_file" "$CLAMD_CONFIGFILE"
|
||||
|
||||
{
|
||||
echo "LogFile " "$LogFile"
|
||||
echo "LogFileMaxSize " "$LogFileMaxSize"
|
||||
echo "LogVerbose " "$LogVerbose"
|
||||
echo "ExtendedDetectionInfo " "$ExtendedDetectionInfo"
|
||||
echo "LogTime " "$LogTime"
|
||||
|
||||
Reference in New Issue
Block a user