330.news revision 61981
1#!/bin/sh
2#
3# $FreeBSD: head/etc/periodic/daily/330.news 61981 2000-06-23 01:18:31Z brian $
4#
5# Expire news articles
6# (This is present only for backwards compatibility, usually the news
7# system handles this on its own).
8
9# If there is a global system configuration file, suck it in.
10#
11if [ -r /etc/defaults/periodic.conf ]
12then
13    . /etc/defaults/periodic.conf
14    source_periodic_confs
15fi
16
17case "$daily_news_expire_enable" in
18    [Yy][Ee][Ss])
19	if [ -f /etc/news.expire ]
20	then
21	    echo ""
22	    echo "Running news.expire:"
23
24	    /etc/news.expire
25	fi;;
26esac
27