#!/bin/bash
# Step 13: Report completion and reboot

step_13_reboot() {
  local ip
  ip="$(hostname -I 2>/dev/null | awk '{print $1}')"
  report_status "done" "First-boot complete" "13" "reboot" "$ip"
  log "Device IP: ${ip:-unknown}"
  log "=== first-boot.sh finished, rebooting ==="
  reboot
}
