3 # $FreeBSD: src/etc/periodic/daily/330.news,v 1.2.2.2 2000/09/20 02:46:15 jkh Exp $
4 # $DragonFly: src/etc/periodic/daily/330.news,v 1.2 2003/06/17 04:24:48 dillon Exp $
7 # (This is present only for backwards compatibility, usually the news
8 # system handles this on its own).
10 # If there is a global system configuration file, suck it in.
12 if [ -r /etc
/defaults
/periodic.conf
]
14 .
/etc
/defaults
/periodic.conf
18 case "$daily_news_expire_enable" in
20 if [ ! -f /etc
/news.expire
]
22 echo '$daily_news_expire_enable is set but /etc/news.expire' \
27 echo "Running news.expire:"
29 /etc
/news.expire
&& rc
=0 || rc
=3