diff --git a/functions/fn_syscheck b/functions/fn_syscheck new file mode 100644 index 000000000..8042f456d --- /dev/null +++ b/functions/fn_syscheck @@ -0,0 +1,10 @@ +#!/bin/bash +# LGSM fn_systemdircheck function +# Author: Daniel Gibbs +# Website: http://danielgibbs.co.uk +# Version: 241214 + +if [ ! -e "${systemdir}" ]; then + fn_printfailnl "Cannot access ${systemdir}: No such directory" + exit +fi \ No newline at end of file