We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0517c80 commit a992e6aCopy full SHA for a992e6a
power_mute.sh
@@ -71,7 +71,7 @@ case $1 in
71
# move on with lock ...
72
echo -n "power on $OUTPUT_DEVICE: "
73
if [[ -n "$GPIO_PSU_RELAY" ]]; then
74
- if [ "${GPIO_AMP_SHUTDOWN_ON_AMP_MUTE#*"$GPIO_MUTE"}" != "$GPIO_AMP_SHUTDOWN_ON_AMP_MUTE" ]; then
+ if [ "${GPIO_PSU_RELAY_OFF_ON_AMP_SHUTDOWN#*"$GPIO_MUTE"}" != "$GPIO_PSU_RELAY_OFF_ON_AMP_SHUTDOWN" ]; then
75
RELAY_ON=$(gpio read $GPIO_PSU_RELAY)
76
if [[ $RELAY_ON == 0 ]]; then
77
gpio write $GPIO_PSU_RELAY 1
0 commit comments