blob: 00889aa5eadbff8fb9b03fb1fab0e8fc3e948984 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#!/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=$?;;
*) rc=0;;
esac
exit $rc
|