From a1b71842b569f2f735b5e49550e1b9fa9e4fa578 Mon Sep 17 00:00:00 2001 From: jtf Date: Wed, 6 Sep 2017 20:52:38 +0200 Subject: [PATCH] switch lock and unlock button --- cgi-bin/kraut.space | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi-bin/kraut.space b/cgi-bin/kraut.space index 4e11fa4..d55b746 100755 --- a/cgi-bin/kraut.space +++ b/cgi-bin/kraut.space @@ -43,8 +43,8 @@ fi # control relais card if [ -n "$cmd" ]; then case "$cmd" in - indoor_lock) pin=4; delay1=0; delay2=1;; - indoor_unlock) pin=17; delay1=0; delay2=1;; + indoor_lock) pin=17; delay1=0; delay2=1;; + indoor_unlock) pin=4; delay1=0; delay2=1;; indoor_open) pin=27; delay1=0; delay2=1;; outdoor_buzz) pin=22; delay1=15; delay2=5;; *) header; echo 'Do not hack the hackerspace!'"$cmd"; exit;;