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?