From 0ddf9633ed33153bac3b1bbbbcf0c997784c6e4f Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Wed, 17 Jan 2018 08:16:15 -0600 Subject: [PATCH] zmlinkcontent.sh - verify zm temp and log folders --- zmlinkcontent.sh.in | 141 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 132 insertions(+), 9 deletions(-) diff --git a/zmlinkcontent.sh.in b/zmlinkcontent.sh.in index 451605e04..b7d2cc78a 100755 --- a/zmlinkcontent.sh.in +++ b/zmlinkcontent.sh.in @@ -4,22 +4,32 @@ # Set the content dir default to be the one supplied to cmake ZM_PATH_CONTENT="@ZM_CONTENTDIR@" +# Set the zoneminder log dir default to be the one supplied to cmake +ZM_LOGDIR="@ZM_LOGDIR@" + +# Set the zoneminder temp dir default to be the one supplied to cmake +ZM_LOGDIR="@ZM_TMPDIR@" + echo "*** This bash script creates the nessecary symlinks for the zoneminder content" echo "*** It can use an existing content folder or create a new one" echo "*** For usage: use -h" echo "*** The default content directory is: $ZM_PATH_CONTENT" +echo "*** The default log directory is: $ZM_LOGDIR" +echo "*** The default temp directory is: $ZM_TMPDIR" echo "" usage() { cat <