Hello All,
Does anybody know if the Power Button on the front of this appliance can be disabled to avoid accidental pushing and turning the system off?
Thanks
Solved! Go to Solution.
UPDATE:
I was able to achieve this by accesing the appliance BIOS (F2 during booting process) and enabling "Front Panel Security"
Hi Kyle,
Cant say this is something that will be supported, nor have I tested it, but...here's something that might get you through it.
https://superuser.com/questions/699905/change-behavior-of-linux-power-button
# Associated Files:
/etc/acpi/events/powerconf
/etc/acpi/actions/power.sh
This could also be reverted after an upgrade.
Best Regards,
Jon
This looks promising! I will test within a week or two and share results. Thank you @jscholte for the prompt response!
My first attempt failed at getting it to work. I replaced the power.sh default file by power-button-ignore.sh:
--------
#!/bin/sh
PATH=/sbin:/bin:/usr/bin
#will ignore power buttom presses but will log if pressed
logger "Power button was pressed"
-----------
After restarting ACPI service, it still gracefully shutdown. Could this be related to what the original powerconf says in COMMENT:
----------------
cat powerconf
# ACPID config to power down machine if powerbutton is pressed, but only if
# no gnome-power-manager is running
event=button/power.*
action=/etc/acpi/actions/power.sh
------------
Any chance we can disable that power gnome feature to allow the workaround to work? Is this somehting doable?
UPDATE:
I was able to achieve this by accesing the appliance BIOS (F2 during booting process) and enabling "Front Panel Security"
That is wayyyyyyyyy more elegant than what I was suggesting!
Corporate Headquarters
6220 America Center Drive
San Jose, CA 95002 USA