This is slightly modified code from: https://github.com/iamfat/np-reset
I take no credit for this code.
Warning. This code is changed to: Shutdown with RST button on the Nanopi R1
This is slightly modified code from: https://github.com/iamfat/np-reset
I take no credit for this code.
Warning. This code is changed to: Shutdown with RST button on the Nanopi R1