aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly/400.status-pkg
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-06-27 11:20:08 +0000
committerBrian Somers <brian@FreeBSD.org>2000-06-27 11:20:08 +0000
commit0ae3b944b57973ffbc041c0a5060dea291b3ae06 (patch)
tree9035edab80a81040a3124103dc3bb89c84a51bbc /etc/periodic/weekly/400.status-pkg
parentc66a7bdea919f282d3aa1f3e4fc1f4c098c49eff (diff)
downloadsrc-0ae3b944b57973ffbc041c0a5060dea291b3ae06.tar.gz
src-0ae3b944b57973ffbc041c0a5060dea291b3ae06.zip
Add weekly_status_pkg_enable (defaults to NO)
Notes
Notes: svn path=/head/; revision=62155
Diffstat (limited to 'etc/periodic/weekly/400.status-pkg')
-rwxr-xr-xetc/periodic/weekly/400.status-pkg20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/periodic/weekly/400.status-pkg b/etc/periodic/weekly/400.status-pkg
new file mode 100755
index 000000000000..aac228bc9484
--- /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