cancel
Showing results for 
Search instead for 
Did you mean: 
kylekat Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 1 of 6

Disable WBG-5000 appliance power button

Jump to solution

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

1 Solution

Accepted Solutions
Highlighted
kylekat Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 5 of 6

Re: Disable WBG-5000 appliance power button

Jump to solution

UPDATE:

I was able to achieve this by accesing the appliance BIOS (F2 during booting process) and enabling "Front Panel Security"

WAF BIOS.JPG

 

@jscholte

View solution in original post

5 Replies
jscholte McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 6

Re: Disable WBG-5000 appliance power button

Jump to solution

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

kylekat Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 3 of 6

Re: Disable WBG-5000 appliance power button

Jump to solution

This looks promising! I will test within a week or two and share results. Thank you @jscholte for the prompt response!

kylekat Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 4 of 6

Re: Disable WBG-5000 appliance power button

Jump to solution

@jscholte

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?

Highlighted
kylekat Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 5 of 6

Re: Disable WBG-5000 appliance power button

Jump to solution

UPDATE:

I was able to achieve this by accesing the appliance BIOS (F2 during booting process) and enabling "Front Panel Security"

WAF BIOS.JPG

 

@jscholte

View solution in original post

jscholte McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 6 of 6

Re: Disable WBG-5000 appliance power button

Jump to solution

That is wayyyyyyyyy more elegant than what I was suggesting!

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community