From 72136d3fc6febade5f5a78756b0382e8832da3a8 Mon Sep 17 00:00:00 2001 From: Georges Herber Date: Sat, 7 May 2016 10:39:54 +0200 Subject: [PATCH] fixed opendoor.sh --- scripts/opendoor.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/opendoor.sh b/scripts/opendoor.sh index cf9696e..04601e6 100755 --- a/scripts/opendoor.sh +++ b/scripts/opendoor.sh @@ -1,3 +1,4 @@ #!/bin/bash -BUZZERURL="$(cat "$(dirname "$0")"/secret.txt)/state.xml?relay1State=2&pulseTime1=5" -wget -O - --timeout=1 --tries=1 $BUZZERSTATUSURL +RELAYURL="$(cat "$(dirname "$0")"/secret.txt)/state.xml?relay1State=2&pulseTime1=5" +wget -O - --timeout=1 --tries=1 $RELAYURL +