#!/bin/bash # $1 mount output string mount | grep -q '/dev/mapper/cryptpool-crypthome on /home type xfs (rw)'