⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clamav

📁 clamav 0.93rc1 - 最新版本的源代码
💻
字号:
#!/bin/sh# Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk>## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,# MA 02110-1301, USA.## Install into /usr/local/etc/rc.d as /usr/local/etc/rc.d/clamav.sh#	chmod 755 /usr/local/etc/rc.d/clamav.sh## Add lines such as this to /etc/rc.conf:#	clamd_enable="YES"#	clamav_milter_enable="YES"#	clamav_milter_flags="--max-children=2 --dont-wait --timeout=0 -P local:/var/run/clamav/clamav.sock --pidfile=/var/run/clamav/clamav-milter.pid --quarantine-dir=/var/run/clamav/quarantine"## Tested with FreeBSD 5.2 and 5.3# PROVIDE: clamav# REQUIRE: NETWORKING# KEYWORD: FreeBSD. /etc/rc.subr# Don't allow files larger than 20M to be created, to limit DoS# Needs to be large enough to extract the signature filesulimit -f 20000name="clamd"rcvar="`set_rcvar`"command="/usr/local/sbin/${name}"load_rc_config $namerun_rc_command "$1"name="clamav_milter"rcvar="`set_rcvar`"command="/usr/local/sbin/clamav-milter"load_rc_config $namerun_rc_command "$1"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -