How do I make a safe array stop, reboot, shutdown in unRaid 6 from terminal?
The stop-array here does not work for me anymore (maybe due to my btrf dual drive cache?): https://wiki.lime-technology.com/How-To's
When I inspect WebGui's reboot /usr/local/emhttp/plugins/dynamix/include/Boot.php it seems it runs either (but I'm not certain I read the code correctly)
/sbin/reboot
/sbin/poweroff
Is it safe to run these to get proper shutdown of array?