awips2/tools/edexErrorAnalysis/umap
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

17 lines
434 B
Bash
Executable file

#!/bin/bash
_USER=`whoami`
if [ ${_USER} != 'root' ]
then
echo WARNING: this script requires root access to run,
echo please su to root and run again.
exit 1
fi
echo running as ${_USER}
echo unmapping log directory on INT1
umount -l /logs/int1
echo unmapping log directory on INT2
umount -l /logs/int2
echo unmapping log directory on DEV1
umount -l /logs/dev1
echo unmapping log directory on DEV2
umount -l /logs/dev2