first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / scripts / system / check_mount.sh
1 #!/bin/bash
2 if [ -z "$1" ]; then
3   echo This program needs a mount point as a parameter.  If the mount point is not
4   echo already mounted, then the program will attempt to mount it.
5   exit 2
6 fi
7
8 if [ -z "$(mount | grep "$1")" ]; then
9   mount "$1"
10 fi
11
12