1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh # # $FreeBSD$ # # remove system messages older than 21 days # if [ -d /var/msgs ] ; then echo "" echo "Cleaning out old system announcements:" msgs -c fi