USB Power shutdown method? And Hard drives?

Wish i never started this im now lost :rofl:

Works perfect with Reboot and Power_Off; unmouts all drives before the power is cut off.

1 Like

Is the latest version still unde this link?
https://pastebin.com/raw/ypmbcrEu

Yes, I edited script on same address.

1 Like

Nice & Thanks.
Maybe good idea to pin this, or commit to CE

I think that several issues here are caused by corrupted data/fs.

Is the emmc also ejected before powerdown by CE/BL? This is a managed NAND, which may also have background maintenance running, which does not like brownout.
EDIT: both linux Kernel drivers support Power off notification, just checked. Hopefully the host notifies the mmc driverā€¦

1 Like

Is it safe to use it, when you have /storage partition on USB? Not sure about shutdown actions after halt serviceā€¦

no, itā€™s not a good idea.

Working perfectly for me:) Thank You!