Skip to content

Commit

Permalink
Minor fixes, updating release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
HclX committed Oct 15, 2020
1 parent 6fee98a commit 542d6c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ functions:
6. Automatically archive the recordings.

# Release notes
## 0.4.02:
* Adding an option to prevent wifi disconnecting.
* Integrating TOTP based 2FA.
* Supporting camera directory name containing space characters
* Detecting stale NFS connection.

## 0.4.01:
* Detecting NFS unmount and automatically reboot the camera.
* Fixing SD card size to properly support large NFS shares.
Expand Down
Binary file modified release/wyze_hacks_0_4_02.zip
Binary file not shown.
4 changes: 3 additions & 1 deletion wyze_hack/mount_nfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,20 @@ do
echo "NFS no longer mounted as /media/mmc"
break
fi

if ( timeout -t 60 df -h 2>&1| grep -q 'Stale NFS');
then
echo "Stale NFS handle detected"
break
fi

# Check for every 10 seconds
sleep 10
done

# This will make the log sync flush logs
$WYZEHACK_DIR/playwav.sh /usr/share/notify/CN/user_need_check.wav 80

# This will make the log sync flush logs
killall sleep
sync
sleep 3
Expand Down

0 comments on commit 542d6c1

Please sign in to comment.