Files
reterminal-dm4/emmc-provisioning/cloud-init/fileserver/steps/13-reboot.sh
nearxos 25bf710c67 Remove deprecated one-shot scripts and update first-boot configuration for improved provisioning</message>
<message>Delete obsolete one-shot scripts for setting screen rotation and wallpaper, as well as related Python and shell scripts. Update the first-boot configuration to streamline the provisioning process by removing references to these scripts. This cleanup enhances maintainability and focuses on the essential steps required for the first boot experience, ensuring a more efficient setup for users.
2026-02-23 16:15:47 +02:00

12 lines
296 B
Bash

#!/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
}