diff --git a/registry.json b/registry.json index 0a24f76..5de1cc7 100644 --- a/registry.json +++ b/registry.json @@ -195,5 +195,14 @@ "ABI": ["hf", "sf"], "dependencies": [], "tags": ["UTILITY"] + }, + { + "name": "Disable OTA Binaries", + "uri": "renameotabin", + "description": "If installed, OTA is disabled", + "author": "Marek", + "ABI": ["hf", "sf"], + "dependencies": [], + "tags": ["UTILITY"] } ] diff --git a/renameotabin/install.sh b/renameotabin/install.sh new file mode 100644 index 0000000..925f8eb --- /dev/null +++ b/renameotabin/install.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +mntroot rw +cd /usr/bin +mv otaupd otaupd.bck +mv otav3 otav3.bck +mntroot ro +reboot diff --git a/renameotabin/uninstall.sh b/renameotabin/uninstall.sh new file mode 100644 index 0000000..006163d --- /dev/null +++ b/renameotabin/uninstall.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +mntroot rw +cd /usr/bin +mv otaupd.bck otaupd +mv otav3.bck otav3 +mntroot ro +reboot