X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=powersensordaemon%2Fswitch.cgi;h=af8369889ea93c0236052f259a5db0bce6c7be30;hp=2108955677e8c8b2de2ec9c234eaba395c4afb42;hb=2e5efa2d148232cec660312c25d404512a9063a8;hpb=9762669d84f32ad981c06870b628d02d63adc0ae 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"