summaryrefslogtreecommitdiff
path: root/scripts/webcamscript
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2011-05-18 16:31:08 +0200
committerChristian Franke <nobody@nowhere.ws>2011-05-18 16:31:08 +0200
commit85eceb160776ca8bded119ae989a5a9713e5aa75 (patch)
tree17db5f33fd6352a0f4b87fcbc7a5185f2a7ec50d /scripts/webcamscript
parenta13f87b1dcc3929917e4fdcfb93f251b8cd78766 (diff)
download dachcam image directly from webcam
Diffstat (limited to 'scripts/webcamscript')
-rw-r--r--scripts/webcamscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/webcamscript b/scripts/webcamscript
index 3b490fb..883ef79 100644
--- a/scripts/webcamscript
+++ b/scripts/webcamscript
@@ -5,7 +5,7 @@
TODAY=`date`
TIME=`date +"%H"`
-wget "${URL}" -O ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg &> /dev/null || exit 1
+wget "${URL}" $WGET_ARGS -O ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg &> /dev/null || exit 1
cp ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg ${WEBPATH}/public/img/buffer.thumb.${NAME}.webcam.jpg
mogrify -resize 200x150 ${WEBPATH}/public/img/buffer.thumb.${NAME}.webcam.jpg