awips2/tools/edexErrorAnalysis/umap
root 8e80217e59 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 3360eb6c5f
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