fix rtsp password

This commit is contained in:
Alfonso Gamboa 2022-07-17 21:20:41 -07:00
parent 3f73441116
commit 7f3407fe78
3 changed files with 26 additions and 17 deletions

View File

@ -171,7 +171,10 @@ wpa_check() {
if [ -e /tmp/wpa_supplicant.conf ]; then
wait_wlan
echo "wpa_supplicant.conf ready"
if ([[ "$ENABLE_USB_ETH" == "true" ]] || [[ "$ENABLE_USB_DIRECT" == "true" ]]); then
wlanold_check $1
fi
else
echo "wpa_supplicant.conf not ready, wait some time for creation."
COUNT=0
@ -180,7 +183,12 @@ wpa_check() {
echo -e "$(( COUNT++ ))... \c"
sleep 5
done
[[ $COUNT -eq $ATTEMPTS ]] && echo "time exceeded waiting for iCamera, continue potentially broken condition without network." && wlanold_check $1
if [[ $COUNT -eq $ATTEMPTS ]]; then
echo "time exceeded waiting for iCamera, continue potentially broken condition without network."
if ([[ "$ENABLE_USB_ETH" == "true" ]] || [[ "$ENABLE_USB_DIRECT" == "true" ]]); then
wlanold_check $1
fi
fi
fi
}
@ -250,6 +258,7 @@ done
}
first_run_check
wpa_check
#Set module dir depending on platform
if [ -f /opt/wz_mini/tmp/.T20 ]; then

View File

@ -1 +1 @@
Sun Jul 17 04:47:48 PM PDT 2022
Sun Jul 17 09:19:56 PM PDT 2022

View File

@ -14,7 +14,7 @@ b8f611d1dee2db10c8adf9f57e7274ad SD_ROOT/wz_mini/www/cgi-bin/ENABLE_USB_ETH.md
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh
f97ffcb1482d564bf2557684a4c68846 SD_ROOT/wz_mini/etc/init.d/wz_init.sh
924d966563285dc195ad7ad48676f60a SD_ROOT/wz_mini/etc/init.d/wz_user.sh
7938479f748f613efe4aea1116de4062 SD_ROOT/wz_mini/etc/init.d/wz_user.sh
4eaf541a47e60035992435b115463541 SD_ROOT/wz_mini/etc/init.d/wz_post.sh
e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab
840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config
@ -97,7 +97,7 @@ b339aee882a5d1c943ad08e4282ec3fd SD_ROOT/wz_mini/usr/bin/iCamera-dbg
20b061689308b2cee7edf3b9b906bca7 SD_ROOT/wz_mini/usr/bin/ucamera
3777d9e80c8b517c01a124e6360b6525 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
54074c4a22fc0212616ebb86db46c22b SD_ROOT/wz_mini/usr/bin/app.ver
d823bfba029d5934c681cec505451de4 SD_ROOT/wz_mini/usr/bin/app.ver
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so