Newbie question: how to safely power down a duo?

Given that you can’t power down a raspberry pi by pulling the plug, what’s the equivalent power-down process for the duo?

1 Like

In most cases, if Duo is not running some programs that read and write disks, it can be powered off directly.

If you want to ensure a safe shutdown as much as possible, you can execute the poweroff command first and then cut off the power after seeing the Power down message displayed on the terminal.

2 Likes

Excellent ! Thank You.

Agreed.

But if ‘poweroff’ (‘sudo poweroff’) is not available on the particular system that you are running (it almost alway is…), you can use the ‘shutdown’ command (‘sudo shutdown -h now’) which is always installed on every Unix, BSD, and Linux system, usually as an external command. ‘poweroff’ seems to be an internal command…

All of the various forms of shutdown internally ‘sync’ the filesystems. BTW, ‘man’ is your friend. And don’t worry, almost everyone is still a newbie.

1 Like