TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: TILT FROM ARCH
from: DAVE
date: 2020-10-29 10:19:00
subject: Re: Pi4 headless shutdown

On 28/10/2020 20:49, Tilt from Arch wrote:
> Hi all,
> I just assembled a raspberry-pi with these items:
> - pi4 board (4gb ram)
> - 16gb microsd card (with archlinux-arm 64bit on);
> - X832 board (to attach a 3.5 HDD);
> - 12V power supply (as needed by X832).
>
>
> The system started as soon as I plugged in the power adapter to the wall
> socket (red and blue lights blinking)
> This is a headless configuration (no monitor, no keyboard, no mouse),
> so I managed to ssh to the archlinux OS, configure pacman keyring and
> then was dinner time :)
>
> To shutdown the system I sent this command via ssh:
> systemctl poweroff
>
> The ssh connection was closed, but the raspberry had red lights still
> on, and I could hear a fan spinning.
>
> I waited 5 minutes without visible changes, then I pulled the plug off
> the socket.
>
> Can you please confirm I shuted down the system the proper way?
>
> Thanks in advance, bye!

I added these lines to /etc/rc.local on my PIs:

echo none > /sys/class/leds/led1/trigger
echo 0 > /sys/class/leds/led1/brightness

Now the red LED extinguishes when the Pi has finished booting, and comes
on again when it is fully shut down.
--
Dave

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.