fix broken audio promps with new init scripts

This commit is contained in:
Alfonso Gamboa
2022-07-31 00:57:19 -07:00
parent 1d8f28a69f
commit 110bac68cb
6 changed files with 14 additions and 15 deletions

View File

@@ -1,9 +0,0 @@
#!/bin/sh
#Set the correct GPIO for the audio driver (T31 only)
if [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then
GPIO=7
elif [ -f /opt/wz_mini/tmp/.WYZE_CAKP2JFUS ]; then
GPIO=63
fi

View File

@@ -1,5 +1,6 @@
#!/bin/sh
source /opt/wz_mini/etc/rc.common
source /opt/wz_mini/wz_mini.conf
if [ -e /opt/wz_mini/etc/.first_boot ]; then

View File

@@ -21,6 +21,13 @@ else
CONFIG="HWaddr"
fi
#Set the correct GPIO for the audio driver (T31 only)
if [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then
GPIO=7
elif [ -f /opt/wz_mini/tmp/.WYZE_CAKP2JFUS ]; then
GPIO=63
fi
wait_for_wlan() {
while true; do
if ifconfig wlan0 | grep "$CONFIG"; then

View File

@@ -1,5 +1,6 @@
#!/bin/sh
source /opt/wz_mini/etc/rc.common
source /opt/wz_mini/wz_mini.conf
if [ -e /opt/wz_mini/swap.gz ]; then

View File

@@ -1 +1 @@
Sun Jul 31 12:48:50 AM PDT 2022
Sun Jul 31 12:56:40 AM PDT 2022