If you’re going to drive a scripted shutdown of TrueNAS remotely, please either use the remote API for system.shutdown
or midclt call system.shutdown
over SSH to give the middleware a chance to clean up.
Timestamp 14:34 if it doesn’t come through for some reason.