update automatic firmware updates block and readme

This commit is contained in:
Alfonso Gamboa 2022-03-29 23:49:52 -07:00
parent 1831211f44
commit 104da95a8d
2 changed files with 12 additions and 1 deletions

View File

@ -8,7 +8,8 @@ Run the latest stable firmware on your v3 cam and have root access to the device
* Flashes the latest firmware during installation ( 4.36.8.32, as of this writing ) * Flashes the latest firmware during installation ( 4.36.8.32, as of this writing )
* Enables SSH, telnet will be disabled after installation. * Enables SSH, telnet will be disabled after installation.
* Add your own changes to run at boot into the script on the micro sd card located at /media/mmc/run_mmc.sh, mount nfs, run ping, whatever you want. * Add your own changes to run at boot into the script on the micro sd card located at /media/mmc/run_mmc.sh, mount nfs, run ping, whatever you want.
* Ability to update to the latest stable or beta firmware, this mod should survive updates ( as long as the firmware update does not change /dev/mtd2. Future versions of this mod may block updates if desired ) * Ability to update to the latest stable or beta firmware, this mod should survive updates ( as long as the firmware update does not change /dev/mtd2.
* Ability to block remotely-initiated firmware updates.
* An Internet connection is required to download and patch the files required for this to work. * An Internet connection is required to download and patch the files required for this to work.
* Inspired by HclX and WyzeHacks, borrowed busybox and dropbearmulti from his v2 repo. Bless you for all your work! You are the master! * Inspired by HclX and WyzeHacks, borrowed busybox and dropbearmulti from his v2 repo. Bless you for all your work! You are the master!
@ -32,6 +33,12 @@ On Device:
cd /media/mmc cd /media/mmc
./wz_mini_installer.sh ./wz_mini_installer.sh
``` ```
To disable automatic firmware updates, edit run_mmc.sh on your micro sd card, un-comment the following:
```bash
#echo "Disable remote firmware upgrade"
#mkdir /tmp/Upgrade
#mount -t tmpfs -o size=1,nr_inodes=1 none /tmp/Upgrade
```
## WARNING ## WARNING
``` ```

View File

@ -61,6 +61,10 @@ dmesg > /media/mmc/dmesg.log
echo "Run dropbear ssh server" echo "Run dropbear ssh server"
/media/mmc/dropbearmulti dropbear -R -m /media/mmc/dropbearmulti dropbear -R -m
#echo "Disable remote firmware upgrade"
#mkdir /tmp/Upgrade
#mount -t tmpfs -o size=1,nr_inodes=1 none /tmp/Upgrade
sleep 3 sleep 3
#Place commands here to run 30 seconds after boot #Place commands here to run 30 seconds after boot