6 # If there is a global system configuration file, suck it in.
8 if [ -r /etc/defaults/periodic.conf ]; then
9 . /etc/defaults/periodic.conf
13 case "$daily_status_pkg_changes_enable" in
15 if [ ! -f /usr/sbin/pkg_info ]; then
16 echo '$daily_status_pkg_changes_enable is enabled but' \
17 "/usr/sbin/pkg_info doesn't exist"
23 if [ -f $bak/pkg_info.bak ]; then
24 mv -f $bak/pkg_info.bak $bak/pkg_info.bak2
26 ${pkg_info:-/usr/sbin/pkg_info} > $bak/pkg_info.bak
28 cmp -sz $bak/pkg_info.bak $bak/pkg_info.bak2
31 echo "Changes in installed packages:"
32 diff -U 0 $bak/pkg_info.bak2 $bak/pkg_info.bak \
33 | grep '^[-+][^-+]' | sort -k 1.2