Remove unused check_mount function.
@@ -120,23 +120,6 @@ function kill_and_wait() {
fi
}
-check_mount() {
- opts=$1
- exports=$2
- mount_point=$3
-
- if grep -qs $mount_point /proc/mounts; then
- echo "Found NFS mount $mount_point"
- else
- echo "Mounting NFS..."
- mount $opts $exports $mount_point
- if [ $? != 0 ]; then
- echo "Cannot mount NFS from $exports to $mount_point, exiting..."
- exit 1
- fi
- fi
-}
-
# Check the syntax of a sudoers file.
check_sudoers() {
/usr/sbin/visudo -c -f "$1"
