Fix PREINIT 10-second timeout killing apply.sh before patches land

Registers the boot hook with timeout:120 so TrueNAS gives apply.sh
two minutes instead of the default ten seconds.  Also consolidates
apply.sh Python subprocess count from ~8 to 2, cutting startup
overhead from ~12-16s to ~2-4s.

Bumps all scripts to v0.0.3.
This commit is contained in:
2026-06-22 15:40:54 +00:00
parent c8de9971e7
commit ee190f558f
6 changed files with 120 additions and 123 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
# rm /mnt/tank/truenas-truecloud-patch/disabled
# bash /mnt/tank/truenas-truecloud-patch/patch/apply.sh
VERSION="0.0.2"
VERSION="0.0.3"
PATCH_DIR="$(cd "$(dirname "$0")" && pwd)"