Program safe shutdown button on le potato?

Please use search: How to add Power Button to AML-S905X-CC Le Potato

You can customize the overlay to turn any GPIO into a safe power down button. How to add a Power Button to Le Potato board - #16 by blamphos