From 1400b2309b617c48957b6d4b35693e9b93137c3e Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 27 Jun 2000 11:20:08 +0000 Subject: Add weekly_status_pkg_enable (defaults to NO) --- etc/periodic/weekly/400.status-pkg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 etc/periodic/weekly/400.status-pkg (limited to 'etc/periodic/weekly/400.status-pkg') diff --git a/etc/periodic/weekly/400.status-pkg b/etc/periodic/weekly/400.status-pkg new file mode 100755 index 0000000..aac228b --- /dev/null +++ b/etc/periodic/weekly/400.status-pkg @@ -0,0 +1,20 @@ +#!/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 "$weekly_status_pkg_enable" in + [Yy][Ee][Ss]) + echo "" + echo "Check for out of date packages:" + + pkg_version -v | sed -n 's/^\([^ ]*\) *< */ \1 /p';; +esac -- cgit v1.1