fix watch_up log spam

send output of watch_up.sh to /dev/null unless debug mode is specifically enabled in the script
This commit is contained in:
Alfonso Gamboa 2022-06-26 20:53:44 -07:00
parent 65e839b6a9
commit f4174f39d8
2 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then
mount --bind /opt/wz_mini/tmp/.storage/hosts /etc/hosts mount --bind /opt/wz_mini/tmp/.storage/hosts /etc/hosts
else else
mkdir /tmp/Upgrade mkdir /tmp/Upgrade
/opt/wz_mini/bin/busybox inotifyd /opt/wz_mini/usr/bin/watch_up.sh /tmp:n & /opt/wz_mini/bin/busybox inotifyd /opt/wz_mini/usr/bin/watch_up.sh /tmp:n > /dev/null 2>&1 &
fi fi
if [[ "$REMOTE_SPOTLIGHT" == "true" ]]; then if [[ "$REMOTE_SPOTLIGHT" == "true" ]]; then

View File

@ -4,7 +4,7 @@ d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/mnt/.gitignore
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config 34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh
0774518c06d6ef8e7181d35f194777cc SD_ROOT/wz_mini/etc/init.d/wz_init.sh 0774518c06d6ef8e7181d35f194777cc SD_ROOT/wz_mini/etc/init.d/wz_init.sh
3fd0f9fe7d0a321fb16e0b47ddc4789d SD_ROOT/wz_mini/etc/init.d/wz_user.sh 1229c9cf89a5de34c112e69d541362c8 SD_ROOT/wz_mini/etc/init.d/wz_user.sh
b0f094a80f7ab79fdf26b0e359ab68db SD_ROOT/wz_mini/etc/init.d/wz_post.sh b0f094a80f7ab79fdf26b0e359ab68db SD_ROOT/wz_mini/etc/init.d/wz_post.sh
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