#!/bin/sh

if [ "`pwd`" != "/usr/spool/uucppublic" ] ; then
  cd /usr/spool/uucppublic
fi
if [ -e achs0300.15s2 ] ; then
  echo Untaring file achs0300.15s2 in preparation for install
  tar fx achs0300.15s2
else
  echo File achs0300.15s2 is not in the proper location for install
  echo
  echo Install is now terminating with exit 1
  exit 1
fi

mv chsftpeobr /usr/spool/chsdata
mv chschg_password /usr/spool/chsdata

cd /usr/spool/chsdata

chmod 550 chsftpeobr
chmod 550 chschg_password

if [ -e chsftpchg_passwd ] ; then
  rm chsftpchg_passwd
fi

echo
echo "Done!"
