From: Paul Donald Date: Tue, 8 Oct 2024 20:11:57 +0000 (+0200) Subject: clamav: freshclam: Remove UpdateLogFile option X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c7d23b60cb233e9f6a3e9ad6d6b261155326d355;p=openwrt-packages.git clamav: freshclam: Remove UpdateLogFile option ( to instead use syslog options ) Signed-off-by: Paul Donald --- diff --git a/net/clamav/files/freshclam.config b/net/clamav/files/freshclam.config index ccce09a41..66c850a90 100644 --- a/net/clamav/files/freshclam.config +++ b/net/clamav/files/freshclam.config @@ -1,6 +1,5 @@ config freshclam 'freshclam' option freshclam_config_file '/etc/clamav/freshclam.conf' - option UpdateLogFile '/tmp/freshclam.log' option DatabaseMirror 'database.clamav.net' option NotifyClamd '/etc/clamav/clamd.conf' option DatabaseOwner 'root' diff --git a/net/clamav/files/freshclam.init b/net/clamav/files/freshclam.init index 38842a95e..6c7d6e7a1 100644 --- a/net/clamav/files/freshclam.init +++ b/net/clamav/files/freshclam.init @@ -11,7 +11,6 @@ FRESHCLAM_CONFIGFILE="/tmp/clamav/freshclam.conf" validate_freshclam_section() { uci_load_validate freshclam freshclam "$1" "$2" \ 'freshclam_config_file:string' \ - 'UpdateLogFile:string' \ 'DatabaseMirror:string' \ 'NotifyClamd:string' \ 'DatabaseOwner:string' \ @@ -29,14 +28,12 @@ start_freshclam_instance() { mkdir -p "$DatabaseDirectory" mkdir -p /etc/clamav - touch /tmp/freshclam.log touch /tmp/freshclam.pid mkdir -p "$(dirname $FRESHCLAM_CONFIGFILE)" ln -sf "$freshclam_config_file" "$FRESHCLAM_CONFIGFILE" { - echo "UpdateLogFile " "$UpdateLogFile" echo "DatabaseMirror " "$DatabaseMirror" echo "NotifyClamd " "$NotifyClamd" echo "DatabaseOwner " "$DatabaseOwner"