#!/bin/bash # LGSM fn_check_systemdir function # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk # Version: 210115 if [ ! -e "${systemdir}" ]; then fn_printfailnl "Cannot access ${systemdir}: No such directory" exit fi