From 01d078ed0b8b7028abc7497dafd79f15627f4147 Mon Sep 17 00:00:00 2001 From: GreenCat777 Date: Sat, 10 Jan 2026 00:53:44 -0600 Subject: [PATCH] add renameotabin --- registry.json | 9 +++++++++ renameotabin/install.sh | 8 ++++++++ renameotabin/uninstall.sh | 8 ++++++++ 3 files changed, 25 insertions(+) create mode 100644 renameotabin/install.sh create mode 100644 renameotabin/uninstall.sh 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