Current Path : /compat/linux/proc/self/root/etc/periodic/daily/ |
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 : //compat/linux/proc/self/root/etc/periodic/daily/450.status-security |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/periodic/daily/450.status-security 221432 2011-05-04 12:48:02Z netchild $ # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/periodic.conf ] then . /etc/defaults/periodic.conf source_periodic_confs fi case "$daily_status_security_enable" in [Yy][Ee][Ss]) echo "" echo "Security check:" case "$daily_status_security_inline" in [Yy][Ee][Ss]) export security_output="";; *) export security_output="${daily_status_security_output}" case "${daily_status_security_output}" in "") rc=3;; /*) echo " (output logged separately)" rc=0;; *) echo " (output mailed separately)" rc=0;; esac;; esac periodic security || rc=3;; *) rc=0;; esac exit $rc