Skip to content

Commit a992e6a

Browse files
committed
Update power_mute.sh
1 parent 0517c80 commit a992e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

power_mute.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ case $1 in
7171
# move on with lock ...
7272
echo -n "power on $OUTPUT_DEVICE: "
7373
if [[ -n "$GPIO_PSU_RELAY" ]]; then
74-
if [ "${GPIO_AMP_SHUTDOWN_ON_AMP_MUTE#*"$GPIO_MUTE"}" != "$GPIO_AMP_SHUTDOWN_ON_AMP_MUTE" ]; then
74+
if [ "${GPIO_PSU_RELAY_OFF_ON_AMP_SHUTDOWN#*"$GPIO_MUTE"}" != "$GPIO_PSU_RELAY_OFF_ON_AMP_SHUTDOWN" ]; then
7575
RELAY_ON=$(gpio read $GPIO_PSU_RELAY)
7676
if [[ $RELAY_ON == 0 ]]; then
7777
gpio write $GPIO_PSU_RELAY 1

0 commit comments

Comments
 (0)