09-01-2019, 11:22 AM
(09-01-2019, 10:24 AM)Farley56 Wrote: My biggest beef is not knowing exactly how to shutdown/restart the device. Can anyone direct me to the documentation listing the steps to shutdown the device? Not just the NASCase but the Rock64Pro too.Hi Mark,
Shutdown takes the system down to the OFF state by running init 0, which shuts down all running processes
Reboot does just that - reboots - but uses init 6 which does the same as init 0, but with a reboot at the end
PowerOff is one step further in that it runs init 6, but then sends the ACPI command to kill power
None of these should come close to corrupting the eMMC or µSD card. If any of them do, then there's an issue with either a processes not obeying the SIGTERM and SIGKILL commands sent during the finale stages on init 0.
If you would like to see this first hand, login on a direct-connect terminal and issue the init commands are rot:
Code:
init 0
init 6
HTH,
Tim