Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4863

Troubleshooting • Re: Raspberry Pi booting again despite issuing shutdown command

$
0
0
I suspect that the USB itself is doing what it's supposed to and providing power to the pi and rebooting it. Does this UPS require some software?

Have you set the I2C interface on? I think that it probably uses that to "talk " to the PI.

You could also try using

sudo shutdown 0

instead of poweroff

Does that work any differently?

You could also try poweroff with various options to see if anything works differently.

poweroff --help
poweroff [OPTIONS...]

Power off the system.

Options:
--help Show this help
--halt Halt the machine
-p --poweroff Switch off the machine
--reboot Reboot the machine
-f --force Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp Don't write wtmp record
--no-wall Don't send wall message before halt/power-off/reboot

See the halt(8) man page for details.

Statistics: Posted by kip_the_elder — Mon Oct 07, 2024 7:51 am



Viewing all articles
Browse latest Browse all 4863

Trending Articles