projects
/
feisty_meow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added c: option for jdk
[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