We use this method. Look at the gpio-shutdown and gpio-powerdown.
https://github.com/raspberrypi/linux/blob/9da67d7329873623bd5c13fae5835d76d5be8806/arch/arm/boot/dts/overlays/README#L823 Then look at the tweaks page, thats where these get enabled. If you would rather not use the overlay method, there is a script at /home/tc/pcp-powerbutton.sh which you can edit/tweak/configure.....then put that script in the user command box on the tweaks page. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer ------------------------------------------------------------------------ paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=112136 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
