Python script for Raspberry Pi to shutdown computer using GPIO