Revision 1e37e02d528f1ca21bf460e44d04b693685d4af3 authored by Murray Stokely on 03 April 2003, 04:38:14 UTC, committed by Murray Stokely on 03 April 2003, 04:38:14 UTC
associated module so the removal goes here, rather than in
drivers.conf(5).

Submitted by:	bmah
Approved by:	re@ cabal
1 parent 24cb3a1
Raw File
450.status-security
#!/bin/sh
#
# $FreeBSD$
#

# 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
		    "")
			;;
		    /*)
			echo "    (output logged separately)";;
		    *)
			echo "    (output mailed separately)";;
		esac;;
	esac

	periodic security
	rc=3;;

    *)  rc=0;;
esac

exit $rc
back to top