mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 21:47:19 +00:00
fix broken audio promps with new init scripts
This commit is contained in:
parent
1d8f28a69f
commit
110bac68cb
@ -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
|
#!/bin/sh
|
||||||
|
|
||||||
|
source /opt/wz_mini/etc/rc.common
|
||||||
source /opt/wz_mini/wz_mini.conf
|
source /opt/wz_mini/wz_mini.conf
|
||||||
|
|
||||||
if [ -e /opt/wz_mini/etc/.first_boot ]; then
|
if [ -e /opt/wz_mini/etc/.first_boot ]; then
|
||||||
|
@ -21,6 +21,13 @@ else
|
|||||||
CONFIG="HWaddr"
|
CONFIG="HWaddr"
|
||||||
fi
|
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() {
|
wait_for_wlan() {
|
||||||
while true; do
|
while true; do
|
||||||
if ifconfig wlan0 | grep "$CONFIG"; then
|
if ifconfig wlan0 | grep "$CONFIG"; then
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
source /opt/wz_mini/etc/rc.common
|
||||||
source /opt/wz_mini/wz_mini.conf
|
source /opt/wz_mini/wz_mini.conf
|
||||||
|
|
||||||
if [ -e /opt/wz_mini/swap.gz ]; then
|
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
|
||||||
|
9
file.chk
9
file.chk
@ -32,7 +32,7 @@ bd11d9a8352eca6a16554c87be50b2f5 SD_ROOT/wz_mini/www/index.html
|
|||||||
eaee762583ba295772686505711277f4 SD_ROOT/wz_mini/etc/network/S08hostname
|
eaee762583ba295772686505711277f4 SD_ROOT/wz_mini/etc/network/S08hostname
|
||||||
6f69930c6549e6438c92a21509213980 SD_ROOT/wz_mini/etc/network/S14storemac
|
6f69930c6549e6438c92a21509213980 SD_ROOT/wz_mini/etc/network/S14storemac
|
||||||
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
|
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
|
||||||
55e1256a75a62e3f7e5de3cf70706bde SD_ROOT/wz_mini/etc/init.d/S09firstboot
|
893b4982bb2ff2862393956e95f7ad62 SD_ROOT/wz_mini/etc/init.d/S09firstboot
|
||||||
c857ea1bfa34bec22d706566977a2d39 SD_ROOT/wz_mini/etc/init.d/S11configbackup
|
c857ea1bfa34bec22d706566977a2d39 SD_ROOT/wz_mini/etc/init.d/S11configbackup
|
||||||
75bece2cfb62d4458256587b3421f756 SD_ROOT/wz_mini/etc/init.d/S10kmod
|
75bece2cfb62d4458256587b3421f756 SD_ROOT/wz_mini/etc/init.d/S10kmod
|
||||||
97be853c83a323c58a165e0077978370 SD_ROOT/wz_mini/etc/init.d/S08passwd
|
97be853c83a323c58a165e0077978370 SD_ROOT/wz_mini/etc/init.d/S08passwd
|
||||||
@ -45,14 +45,13 @@ c2272566f498e36d104cf82a79c6bfc9 SD_ROOT/wz_mini/etc/init.d/S01bind
|
|||||||
0704333eb4aa14e2c5b09282c626266a SD_ROOT/wz_mini/etc/init.d/S04model
|
0704333eb4aa14e2c5b09282c626266a SD_ROOT/wz_mini/etc/init.d/S04model
|
||||||
997158df9e139fdfb1bf03b5d4ba895a SD_ROOT/wz_mini/etc/init.d/S14terminfo
|
997158df9e139fdfb1bf03b5d4ba895a SD_ROOT/wz_mini/etc/init.d/S14terminfo
|
||||||
84155615b192fb92a62c932cae6d190e SD_ROOT/wz_mini/etc/init.d/S07inject
|
84155615b192fb92a62c932cae6d190e SD_ROOT/wz_mini/etc/init.d/S07inject
|
||||||
e333f1b5921281994e1f603cb69cfd02 SD_ROOT/wz_mini/etc/init.d/S06gpio
|
|
||||||
d5c528b391309f6c4a33ce4f3dc120de SD_ROOT/wz_mini/etc/init.d/S02tmpfs
|
d5c528b391309f6c4a33ce4f3dc120de SD_ROOT/wz_mini/etc/init.d/S02tmpfs
|
||||||
e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab
|
e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab
|
||||||
840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config
|
840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config
|
||||||
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/etc/rc.local.d/.gitignore
|
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/etc/rc.local.d/.gitignore
|
||||||
ac436b39b69f26fb65e993c2dfefb421 SD_ROOT/wz_mini/etc/wz_mini.conf.dist
|
ac436b39b69f26fb65e993c2dfefb421 SD_ROOT/wz_mini/etc/wz_mini.conf.dist
|
||||||
4291fb00ec609b5b007ff9b3048e9248 SD_ROOT/wz_mini/etc/hosts
|
4291fb00ec609b5b007ff9b3048e9248 SD_ROOT/wz_mini/etc/hosts
|
||||||
5b0c63a43114aeb91048747c4190ce03 SD_ROOT/wz_mini/etc/rc.common
|
bbe9b12c25e0d6c2fdd54a5ecaf35138 SD_ROOT/wz_mini/etc/rc.common
|
||||||
8b5e58acfcbb20034dc4873a08b45fd9 SD_ROOT/wz_mini/etc/profile
|
8b5e58acfcbb20034dc4873a08b45fd9 SD_ROOT/wz_mini/etc/profile
|
||||||
2c2df1b9cb603f9c31c46162d6ac307f SD_ROOT/wz_mini/etc/alsa/alsa.conf
|
2c2df1b9cb603f9c31c46162d6ac307f SD_ROOT/wz_mini/etc/alsa/alsa.conf
|
||||||
e239f638e9a0bcb615b2b9a9205b050f SD_ROOT/wz_mini/etc/rc.d/K01network
|
e239f638e9a0bcb615b2b9a9205b050f SD_ROOT/wz_mini/etc/rc.d/K01network
|
||||||
@ -67,7 +66,7 @@ dd8ced14fa4eeceaf3c49774e8762e9b SD_ROOT/wz_mini/etc/rc.d/S14nightdrop
|
|||||||
e6e927ae715137152178ff317d17b8f2 SD_ROOT/wz_mini/etc/rc.d/S03ethernet
|
e6e927ae715137152178ff317d17b8f2 SD_ROOT/wz_mini/etc/rc.d/S03ethernet
|
||||||
8cf971c14e1340af9eb86c3b82f38131 SD_ROOT/wz_mini/etc/rc.d/S13mp4write
|
8cf971c14e1340af9eb86c3b82f38131 SD_ROOT/wz_mini/etc/rc.d/S13mp4write
|
||||||
769776b26247d680ca564c9af3288c91 SD_ROOT/wz_mini/etc/rc.d/S05rndis
|
769776b26247d680ca564c9af3288c91 SD_ROOT/wz_mini/etc/rc.d/S05rndis
|
||||||
1bbaef7b8391c647e31f6cf6f149bf3f SD_ROOT/wz_mini/etc/rc.d/S01swap
|
19ff129af984cf133c92e9c524dda401 SD_ROOT/wz_mini/etc/rc.d/S01swap
|
||||||
bbccf00adaf0b2494a98f18769e10a0f SD_ROOT/wz_mini/etc/rc.d/K15logging
|
bbccf00adaf0b2494a98f18769e10a0f SD_ROOT/wz_mini/etc/rc.d/K15logging
|
||||||
69840400ee805665a3a4913003cf60db SD_ROOT/wz_mini/etc/rc.d/S04usbdirect
|
69840400ee805665a3a4913003cf60db SD_ROOT/wz_mini/etc/rc.d/S04usbdirect
|
||||||
ca9df8b184f4bbc1c4bb9a18d3375b0b SD_ROOT/wz_mini/etc/rc.d/S09coredump
|
ca9df8b184f4bbc1c4bb9a18d3375b0b SD_ROOT/wz_mini/etc/rc.d/S09coredump
|
||||||
@ -150,7 +149,7 @@ b339aee882a5d1c943ad08e4282ec3fd SD_ROOT/wz_mini/usr/bin/iCamera-dbg
|
|||||||
20b061689308b2cee7edf3b9b906bca7 SD_ROOT/wz_mini/usr/bin/ucamera
|
20b061689308b2cee7edf3b9b906bca7 SD_ROOT/wz_mini/usr/bin/ucamera
|
||||||
3777d9e80c8b517c01a124e6360b6525 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
|
3777d9e80c8b517c01a124e6360b6525 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
|
||||||
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
|
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
|
||||||
10f426c3b3cadc9544d0952d0023e882 SD_ROOT/wz_mini/usr/bin/app.ver
|
1691c47a9371797367d7bcf435ae6957 SD_ROOT/wz_mini/usr/bin/app.ver
|
||||||
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
|
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
|
||||||
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
|
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
|
||||||
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so
|
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so
|
||||||
|
Loading…
Reference in New Issue
Block a user