# shell script to remove /usr/mail root=$1 # remove directories to allow for creation of sym links echo "removing /usr/mail directory" rm -rf ${root}/usr/mail # create symbolic link echo "creating symbolic link for /usr/mail" ln -s \$SYSNAME/mail ${root}/usr/mail