#!/bin/bash # The purpose of this file is to create the symlinks in the web folder to the content folder. It can use an existing content folder or create a new one. # 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 <