gitignore dist/; fix empty then-branch (sh syntax) in the NV verdict
Some checks failed
image / image (push) Has been cancelled

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jorijn van der Graaf 2026-08-09 02:44:39 +02:00
commit 8e75c75be3
2 changed files with 2 additions and 1 deletions

View file

@ -135,7 +135,7 @@ cat "$BOOT" | ssh $SSHOPTS "user@$PHONE" \
Z=$(ssh $SSHOPTS "user@$PHONE" \
"$SUDO od -An -tx1 -N4096 /dev/disk/by-partlabel/modemst1 | sort -u | wc -l" 2>/dev/null || echo 0)
if [ "$Z" -gt 2 ]; then
# echo "modem NV intact - cellular will work."
echo "modem NV intact."
else
cat <<'EOF'
WARNING: the modem NV reads empty. If this device previously ran stock