4 dir=/var/ops/populate/stats
5 tarfile=/var/tmp/winstats.out
7 PATH="/etc:/bin:/usr/bin:/usr/etc:/usr/athena/etc"
9 if [ -d /var/athena ] && [ -w /var/athena ]; then
10 exec >/var/athena/moira_update.log 2>&1
12 exec >/tmp/moira_update.log 2>&1
15 # The following exit codes are defined and MUST BE CONSISTENT with the
16 # error codes the library uses:
17 MR_MISSINGFILE=47836473
20 if [ ! -f $tarfile ]; then
31 chmod 644 containers machine mcntmap
33 # load the data. This sends mail if it fails.