How to properly SHUTDOWN OpenWRT on a Raspberry Pi 3?

I am looking to properly shutdown my OpenWRT installation either from LUCI or the ssh command line.

In standard linux like Ubuntu or Raspberry Pi OS, the command sudo shutdown -h now properly shuts down my raspberry pi OS so I can unplug my SD Card without data loss. However, the only options in ssh and LUCI that I can see is the LUCI Reboot button or the SSH command reboot. sudo shutdown -h now doesn't work on OpenWRT.

How can I go about shutting down OpenWRT on a Raspberry Pi so I can unplug my SD Card without data loss?

halt, works for me, on x86.

no need for sudo, you're already root.

The openwrt shutdown command is:

poweroff

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.