06-19-2018, 08:22 PM
During moOde startup the code below is executed in the script /var/www/command/util.sh
-Tim
Code:
# unmute IQaudIO Pi-AMP+, Pi-DigiAMP+
if [[ $1 = "unmute-pi-ampplus" || $1 = "unmute-pi-digiampplus" ]]; then
echo "22" >/sys/class/gpio/export
echo "out" >/sys/class/gpio/gpio22/direction
echo "1" >/sys/class/gpio/gpio22/value
exit
fi
-Tim