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
else
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
if [[ "$REMOTE_SPOTLIGHT" == "true" ]]; then