From: Bernhard Tittelbach Date: Wed, 27 Mar 2013 03:37:38 +0000 (+0000) Subject: bugfix X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=2e5efa2d148232cec660312c25d404512a9063a8;p=svn42.git bugfix --- diff --git a/powersensordaemon/switch.cgi b/powersensordaemon/switch.cgi index 2108955..af83698 100755 --- a/powersensordaemon/switch.cgi +++ b/powersensordaemon/switch.cgi @@ -30,7 +30,7 @@ VALID_SEND_IDS="ymhpoweron ymhcd ymhwdtv ymhtuner ymhaux ymhsattv ymhvolmute ymh [ "$POWER" == "send" ] && POWER=on if [ "$POWER" == "on" -o "$POWER" == "off" ]; then - for CHECKID in $VALID_ONOFF_IDS $VALID_SEND_IDS; do + for CHECKID in $VALID_ONOFF_IDS $VALID_SEND_IDS $VALID_SEND_IDS_CUSTOM_DISPLAY; do if [ "$CHECKID" == "$ID" ]; then echo "power $POWER $ID" | usocket $UNIXSOCK echo "Content-type: text/html"