Current Path : /usr/local/etc/periodic/security/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/etc/periodic/security/415.rkhunter |
#!/bin/sh # # $FreeBSD: ports/security/rkhunter/files/415.rkhunter.in,v 1.2 2008/01/07 18:50:36 miwi Exp $ # # This is a maintenance shell script for the rkhunter security tool. # You can enable this script in /etc/periodic.conf file by putting these lines into it: # daily_rkhunter_update_enable="YES" # daily_rkhunter_check_enable="YES" # # Written by: Gabor Kovesdan <gabor@FreeBSD.org> if [ -r /etc/defaults/periodic.conf ]; then . /etc/defaults/periodic.conf source_periodic_confs fi case "$daily_rkhunter_update_enable" in [Yy][Ee][Ss]) echo "" echo "Updating the rkhunter database..." /usr/local/bin/rkhunter --update --nocolors ;; esac case "$daily_rkhunter_check_enable" in [Yy][Ee][Ss]) echo "" echo "Running rkhunter..." /usr/local/bin/rkhunter --checkall --nocolors --skip-keypress ;; esac