X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=raspberrypi_gpio_relay_licht%2Fswitch.cgi;fp=raspberrypi_gpio_relay_licht%2Fswitch.cgi;h=0000000000000000000000000000000000000000;hb=c929ed7d13a739c2e5674555b92cef22c3250928;hp=5ff6ac6aeb0f2203ed54f87694318a192037deb1;hpb=daad6e004a0ec90276fbc34b86547e545f3fbe05;p=svn42.git diff --git a/raspberrypi_gpio_relay_licht/switch.cgi b/raspberrypi_gpio_relay_licht/switch.cgi deleted file mode 100755 index 5ff6ac6..0000000 --- a/raspberrypi_gpio_relay_licht/switch.cgi +++ /dev/null @@ -1,209 +0,0 @@ -#!/bin/sh - -for QUERY in `echo $QUERY_STRING | tr '&' ' '`; do - for VALUE in `echo $QUERY | tr '=' ' '`; do - if [ "$VALUE" = "id" ]; then - ID='?' - elif [ "$ID" = "?" ]; then - ID=$VALUE - elif [ "$VALUE" = "power" ]; then - POWER='?' - elif [ "$POWER" = "?" ]; then - POWER=$VALUE - elif [ "$VALUE" = "mobile" ]; then - MOBILE='1' - NOFLOAT='1' - elif [ "$VALUE" = "nofloat" ]; then - NOFLOAT='1' - fi - i=$i+1 - done -done - -VALID_ONOFF_IDS="ceiling1 ceiling2 ceiling3 ceiling4 ceiling5 ceiling6" -VALID_SEND_IDS="" - -DESC_ceiling1="Decke E-Labor (SSW)" -DESC_ceiling2="Decke Leinwand (S)" -DESC_ceiling3="Decke Eingang (W)" -DESC_ceiling4="Decke Durchgang (O)" -DESC_ceiling5="Decke Auslage (N)" -DESC_ceiling6="Decke Küche (NNO)" - -echo "Content-type: text/html" -echo "" -echo "" -echo "
" -echo "