On 12/11/2020 04:54 AM, tastytea wrote: > On 2020-12-10 23:56-0700 Grant Taylor > <gtay...@gentoo.tnetconsulting.net> wrote: > >> On 12/10/20 9:20 PM, the...@sys-concept.com wrote: >>> How to prevent PC from shutdown when running when power button is >>> pressed? Is it a function in a BIOS or OS? >> >> Press and release, in less than four seconds, is the OS. Four >> seconds or longer is the BIOS. >> >> Try stopping acpid and seeing if that gets you the desired results. > > Nowadays (e)logind handles that. Setting > HandlePowerKey=ignore > in /etc/elogind/logind.conf should disable that (haven't tested). > > Kind regards, tastytea
Thank, will definitely try it and let you folks know. But right now, I've managed to break the boot-loader, so this is the priority.