Print version in all scripts; add Updating section to README

This commit is contained in:
flan committed 2026-06-19 19:04:48 +00:00
1 parent 5b9c888b72
commit c8de9971e7
6 files changed
+40 -3

No files matched your search

+5
View File
@@ -16,8 +16,13 @@
# rm /mnt/tank/truenas-truecloud-patch/disabled
# bash /mnt/tank/truenas-truecloud-patch/patch/apply.sh
VERSION="0.0.2"
PATCH_DIR="$(cd "$(dirname "$0")" && pwd)"
echo "=== TrueNAS TrueCloud Provider Patch v${VERSION} — Recover ==="
echo ""
if [ "$(id -u)" -ne 0 ]; then
echo "ERROR: must be run as root." >&2
exit 1