diff --git a/SD_ROOT/wz_mini/etc/rc.d/K01network b/SD_ROOT/wz_mini/etc/rc.d/K01network index 1bbbe2f..65d2911 100644 --- a/SD_ROOT/wz_mini/etc/rc.d/K01network +++ b/SD_ROOT/wz_mini/etc/rc.d/K01network @@ -3,6 +3,11 @@ source /opt/wz_mini/etc/rc.common source /opt/wz_mini/wz_mini.conf +if [ -e /tmp/dbgflag ]; then + echo "debug enabled, network.d disabled." + exit 0 +fi + wait_for_wlan for i in /opt/wz_mini/etc/network/S??* ;do diff --git a/SD_ROOT/wz_mini/etc/rc.d/K03rcd b/SD_ROOT/wz_mini/etc/rc.d/K03rcd index 4c1807b..60e8bae 100644 --- a/SD_ROOT/wz_mini/etc/rc.d/K03rcd +++ b/SD_ROOT/wz_mini/etc/rc.d/K03rcd @@ -1,5 +1,10 @@ #!/bin/sh +if [ -e /tmp/dbgflag ]; then + echo "debug enabled, rc.d disabled." + exit 0 +fi + for i in /opt/wz_mini/etc/rc.d/S??* ;do # Ignore dangling symlinks (if any). diff --git a/SD_ROOT/wz_mini/etc/rc.d/S18fps b/SD_ROOT/wz_mini/etc/rc.d/S18fps new file mode 100644 index 0000000..f1f0d6e --- /dev/null +++ b/SD_ROOT/wz_mini/etc/rc.d/S18fps @@ -0,0 +1,23 @@ +#!/bin/sh + +source /opt/wz_mini/wz_mini.conf + +#Set system FPS if greater than default + +if [ $RTSP_HI_RES_FPS -gt 20 ]; then + + if cat /configs/.user_config | grep fps; then + sed -i "s/fps.*/fps\=$RTSP_HI_RES_FPS/" /configs/.user_config + else + sed -i "/\[SETTING\].*/a fps=$RTSP_HI_RES_FPS" /configs/.user_config + fi + +elif [ $RTSP_LOW_RES_FPS -gt 20 ]; then + + if cat /configs/.user_config | grep fps; then + sed -i "s/fps.*/fps\=$RTSP_LOW_RES_FPS/" /configs/.user_config + else + sed -i "/\[SETTING\].*/a fps=$RTSP_LOW_RES_FPS" /configs/.user_config + fi + +fi diff --git a/SD_ROOT/wz_mini/usr/bin/app.ver b/SD_ROOT/wz_mini/usr/bin/app.ver index a55dd2f..1ec1be5 100644 --- a/SD_ROOT/wz_mini/usr/bin/app.ver +++ b/SD_ROOT/wz_mini/usr/bin/app.ver @@ -1 +1 @@ -Sun Jul 31 12:56:40 AM PDT 2022 +Sun Jul 31 01:32:19 PM PDT 2022 diff --git a/file.chk b/file.chk index fdfb4e5..33758a6 100644 --- a/file.chk +++ b/file.chk @@ -54,11 +54,12 @@ ac436b39b69f26fb65e993c2dfefb421 SD_ROOT/wz_mini/etc/wz_mini.conf.dist bbe9b12c25e0d6c2fdd54a5ecaf35138 SD_ROOT/wz_mini/etc/rc.common 8b5e58acfcbb20034dc4873a08b45fd9 SD_ROOT/wz_mini/etc/profile 2c2df1b9cb603f9c31c46162d6ac307f SD_ROOT/wz_mini/etc/alsa/alsa.conf -e239f638e9a0bcb615b2b9a9205b050f SD_ROOT/wz_mini/etc/rc.d/K01network +48c275a421535d8c21e7960545c684dc SD_ROOT/wz_mini/etc/rc.d/S18fps +dbb0d028de1b8212cc0fd1b64a3e8d22 SD_ROOT/wz_mini/etc/rc.d/K01network 45e5f3f33860e560b3e154dd9510f830 SD_ROOT/wz_mini/etc/rc.d/S12remoteaccessory 3053ed4b5fcd1dc8a38bb90e2ac5fff2 SD_ROOT/wz_mini/etc/rc.d/S17motor 3c688f5e675c18b3431543c640649810 SD_ROOT/wz_mini/etc/rc.d/S10firmware -b667544fa7c8913ee97973d1829bfcd6 SD_ROOT/wz_mini/etc/rc.d/K03rcd +b8705ccc4f08347d3676bb57f737c2a1 SD_ROOT/wz_mini/etc/rc.d/K03rcd 6a252a0be94933afd55f72b613fab583 SD_ROOT/wz_mini/etc/rc.d/K02webcam 546158e1666d8587c151480e64ac88a8 SD_ROOT/wz_mini/etc/rc.d/S07bonding 553c41631a075764bc2e1b4e496cfc66 SD_ROOT/wz_mini/etc/rc.d/S06networkalt @@ -149,7 +150,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 -1691c47a9371797367d7bcf435ae6957 SD_ROOT/wz_mini/usr/bin/app.ver +e147e8fe9e0fa239afebf5ae7d1174a5 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