&2
exit 1
;;
esac
mkdir -p /boot/config/plugins/deadlock-guard/packages
]]>
https://github.com/ghaschel/unraid-deadlock-guard/releases/download/2026.09.28/deadlock-guard-2026.09.28-noarch-1.txz
13d17ec4e7857be59cc9eaa7f06f028f0ec9cd34d6cfe663c92c3f536c906ddf
9c827c8847d31b33b3e81b48b0fffff5
/dev/null || true)
if [[ "$installed_version" != "$expected_version" ]]; then
printf 'Deadlock Guard installation failed: expected %s, found %s.\n' \
"$expected_version" "${installed_version:-missing}" >&2
exit 1
fi
# Package extraction prepares the module without restarting. Reload the API once
# after the verified payload and registration are in place.
"$plugin_dir/scripts/lifecycle" install --restart-api
echo 'Deadlock Guard installed.'
echo 'REBOOT REQUIRED after first installation: reboot Unraid when safe to activate VM protection.'
]]>