# The following exit codes are defined and MUST BE CONSISTENT with the
# MR error codes the library uses:
# The following exit codes are defined and MUST BE CONSISTENT with the
# MR error codes the library uses:
# Directory into which we will empty the tarfile
set SRC_DIR=/etc/athena/_nameserver
# Directory into which we will put the final product
# Directory into which we will empty the tarfile
set SRC_DIR=/etc/athena/_nameserver
# Directory into which we will put the final product
# Empty the tar file one file at a time and move each file to the
# appropriate place only if it is not zero length.
cd $SRC_DIR
# Empty the tar file one file at a time and move each file to the
# appropriate place only if it is not zero length.
cd $SRC_DIR
# Don't put up with errors extracting the information
if ($status) exit $MR_TARERR
# Make sure the file is not zero-length
if (! -z $file) then
# Don't put up with errors extracting the information
if ($status) exit $MR_TARERR
# Make sure the file is not zero-length
if (! -z $file) then
# important that this file be removed since the script uses its
# existance as evidence that named as has been successfully restarted.
# important that this file be removed since the script uses its
# existance as evidence that named as has been successfully restarted.
# Use /bin/kill because, due to a bug in some versions of csh, failure
# of a builtin will cause the script to abort
# Use /bin/kill because, due to a bug in some versions of csh, failure
# of a builtin will cause the script to abort
# This timeout is implemented by having the shell check TIMEOUT times
# for the existance of /etc/named.pid and to sleep INTERVAL seconds
# This timeout is implemented by having the shell check TIMEOUT times
# for the existance of /etc/named.pid and to sleep INTERVAL seconds