<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.
12 lines
296 B
Bash
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
|
|
}
|