20 # You should have received a copy of the GNU General Public License |
20 # You should have received a copy of the GNU General Public License |
21 # along with MBSE BBS; see the file COPYING. If not, write to the Free |
21 # along with MBSE BBS; see the file COPYING. If not, write to the Free |
22 # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
22 # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
23 ############################################################################# |
23 ############################################################################# |
24 |
24 |
25 VERSION=0.18 |
25 VERSION=0.19 |
26 export PATH=/bin:/usr/bin:/sbin:/usr/sbin |
26 export PATH=/bin:/usr/bin:/sbin:/usr/sbin |
27 umask 077 |
27 umask 077 |
28 LANG=C; export LANG |
28 LANG=C; export LANG |
29 |
29 |
30 fqdn=`hostname -f` |
30 fqdn=`hostname -f` |
31 date=`date` |
31 date=`date` |
32 |
32 |
33 if [ "${MAILTO}" = "" ]; then |
33 if [ "${MAILTO}" = "" ]; then |
34 MAILTO=root@$fqdn |
34 MAILTO=root |
35 fi |
35 fi |
36 |
36 |
37 DAILYDIR=`mktemp -d /tmp/_daily.XXXXXX` || exit 1 |
37 DAILYDIR=`mktemp -d /tmp/_daily.XXXXXX` || exit 1 |
38 SECOUT="$DAILYDIR/secout" |
38 SECOUT="$DAILYDIR/secout" |
39 TMP1="$DAILYDIR/tmp1" |
39 TMP1="$DAILYDIR/tmp1" |