4 outfile=/tsm-mit/data/tsmlists
5 loadprog=/tsm-mit/bin/loadAdminTable.pl
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 $outfile ]; then
24 if [ ! -x $loadprog ]; then
30 # Ignore exit status from $loadprog for now.