#!/bin/csh # This script saves important files to a tar file in preparation # for upgrading an HP-UX 9.x machine to HP-UX 10.20 # # Eric Myers 31 January 1997 # Department of Physics, University of Michigan, Ann Arbor, Michigan #======================================================================* set TARFILE=/tmp/`hostname`.tar set SAVELIST=/tmp/save.list # Mathematical password needs to be saved, but not in same place, # so give it a unique name cp /usr/local/mathematica/Install/mathpass /tmp/mathpass.`hostname` # Start a tar file... tar cf $TARFILE /etc/passwd # ...and save this stuff to it (GNU tar would have made this easier) echo "Saving configuration files to a tar file..." cat >$SAVELIST <