The distribution unconfigure file:
#!/bin/sh
echo "****************************************************************"
echo "nsdstop must be run prior to running this script and"
echo "NSDCFGDB and NAMINGDB database files cannot be opened."
echo ""
echo "This will PERMANENTLY purge the NSDCFGDB and NAMINGDB databases."
echo "Do you want to proceed (y/n):"
while read in
do
if [ "$in" = "Y" ] || [ "$in" = "y" ]; then
# Purge nsdcfgdb and namingdb databases
gtacl -p fup "purge ! $MY_SUBVOL.nsdcfgdb"
gtacl -p fup "purge ! $MY_SUBVOL.namingdb"
break 1
else
if [ "$in" = "N" ] || [ "$in" = "n" ]; then
break 2
else
echo "This will PERMANENTLY purge you NSDCFGDB and NAMINGDB databases."
echo "Do you want to proceed (Y/N):"
fi
fi
done
|