From 2e5efa2d148232cec660312c25d404512a9063a8 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Wed, 27 Mar 2013 03:37:38 +0000 Subject: [PATCH] bugfix --- powersensordaemon/switch.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.7.10.4