diff options
| author | st33v <github@f3rr3t.com> | 2018-01-08 18:51:43 +1100 |
|---|---|---|
| committer | st33v <github@f3rr3t.com> | 2018-01-08 18:51:43 +1100 |
| commit | c8a9b8e67316b44f4d7aadbf2cf3b06ab5503ff4 (patch) | |
| tree | a8ae4b4fffcac1998086337f6fcfc97033a71356 /editpix.sh | |
| parent | 13a48d1911ffec35dec0067345f81fc67ca2a361 (diff) | |
cams now defined in paths.config
Diffstat (limited to 'editpix.sh')
| -rwxr-xr-x | editpix.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ ########### Constants ################## web="example.com:/path/to/remote/camrootdir" # web server. configured in paths.config thisdir="/path/to/cams" # this directory (on this computer) Configured in paths.config +camlist="cam1 cam2 and_so_on" # cams to monitor if [ -e /usr/local/share/editpix/paths.config ]; then . /usr/local/share/editpix/paths.config else echo "paths.config does not exist, see readme"; exit 1 @@ -12,7 +13,7 @@ fi ########### end Consts ################ # cam names in an array: -declare -a camz=(neatherd lucerne) +declare -a camz=(${camlist}) cd ${thisdir} # root directory for uploaded pix |
