5 # Remove system messages
8 # If there is a global system configuration file, suck it in.
10 if [ -r /etc/defaults/periodic.conf ]
12 . /etc/defaults/periodic.conf
16 case "$daily_clean_msgs_enable" in
20 echo '$daily_clean_msgs_enable is set but /var/msgs' \
25 echo "Cleaning out old system announcements:"
27 [ -n "$daily_clean_msgs_days" ] &&
28 arg=-${daily_clean_msgs_days#-} || arg=
29 msgs -c $arg && rc=0 || rc=3