Last active
October 19, 2015 12:48
-
-
Save kenci/22ec4c210b340a8ff1e2 to your computer and use it in GitHub Desktop.
Check if storage is properly mounted
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| nfsdir="/mnt/kenonas" | |
| if [ ! -d $nfsdir ]; then | |
| echo false | |
| else | |
| echo true | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment