mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
fix broken audio promps with new init scripts
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -1 +1 @@
|
||||
Sun Jul 31 12:48:50 AM PDT 2022
|
||||
Sun Jul 31 12:56:40 AM PDT 2022
|
||||
|
Reference in New Issue
Block a user