Dstubbs28 Posted June 24, 2018 Share Posted June 24, 2018 (edited) This option should be in /etc/acpi/acpi_handler.sh if I am not mistaken, but each time i edit this file, when the server is rebooted.. the file reverts to its original lines. Commenting out the lines in this file does indeed turn off the ability to short press the power button, but I want to make it permanent. (I have case with a pbutton on top, and I have cats) Thanks all! Edited June 24, 2018 by Dstubbs28 Quote Link to comment
saarg Posted June 24, 2018 Share Posted June 24, 2018 Might be an option in the bios also. If not, you need to store the edited file on your flash drive and the copy it to the correct place on every boot. You can do this by adding the command in the go file in the config folder of the flash. Quote Link to comment
Dstubbs28 Posted June 24, 2018 Author Share Posted June 24, 2018 (edited) 3 minutes ago, saarg said: Might be an option in the bios also. If not, you need to store the edited file on your flash drive and the copy it to the correct place on every boot. You can do this by adding the command in the go file in the config folder of the flash. Sadly not a Bios option as thats a venue i already explored... I'll have to do the cp each boot then. (I do wish it was an unraid option though...) Thanks Saarg Edited June 24, 2018 by Dstubbs28 Quote Link to comment
saarg Posted June 24, 2018 Share Posted June 24, 2018 1 minute ago, Dstubbs28 said: Sadly not a Bios option as thats a venue i already explored... I'll have to do the cp each boot then. (I do wish it was an unraid option though...) Thanks Saarg Make a feature request and it might get added ? Quote Link to comment
Frank1940 Posted June 24, 2018 Share Posted June 24, 2018 It might be easier to block physical access to the switch... Quote Link to comment
Dstubbs28 Posted June 24, 2018 Author Share Posted June 24, 2018 Just now, Frank1940 said: It might be easier to block physical access to the switch... Not with this kitten... Unless I want to have an 'ugly' solution. Quote Link to comment
Frank1940 Posted June 24, 2018 Share Posted June 24, 2018 2 hours ago, Dstubbs28 said: Not with this kitten... Unless I want to have an 'ugly' solution. Then it would be best to implement this solution: 2 hours ago, saarg said: ...you need to store the edited file on your flash drive and the copy it to the correct place on every boot. You can do this by adding the command in the go file in the config folder of the flash. Quote Link to comment
JonathanM Posted June 24, 2018 Share Posted June 24, 2018 3 hours ago, Dstubbs28 said: Not with this kitten... Unless I want to have an 'ugly' solution. If the case has a reset switch you could disconnect the power button wires from the motherboard and use the reset switch as the power button. I don't think the software mod is going to be enough, as sitting on the button will kill the server without a proper shutdown. Quote Link to comment
Squid Posted June 24, 2018 Share Posted June 24, 2018 2 minutes ago, jonathanm said: If the case has a reset switch you could disconnect the power button wires from the motherboard and use the reset switch as the power button. Only if the reset switch is recessed Quote Link to comment
JonathanM Posted June 24, 2018 Share Posted June 24, 2018 Just now, Squid said: Only if the reset switch is recessed Very true, but in many cases the power button is loud and proud, the reset is small and less accessible. Worst case, upgrade motherboard to server model with IPMI and disconnect power switch from motherboard totally. Depending on how handy the OP is with tools, there are plenty of options to mount a momentary switch in a better location, like a pci slot cover. Quote Link to comment
SSD Posted June 24, 2018 Share Posted June 24, 2018 17 hours ago, saarg said: ... If not, you need to store the edited file on your flash drive and the copy it to the correct place on every boot. You can do this by adding the command in the go file in the config folder of the flash. @Dstubbs28 - This is excellent solution IMO. Quote Link to comment
harshl Posted December 28, 2018 Share Posted December 28, 2018 I know this thread is a bit old, but I had a similar issue and what I ended up doing was setting the BIOS settings such that it would always power on after a power failure (or power loss). I disconnected the front panel power and reset switches. When I need to shutdown and power back on the system, I simply flip the power supply switch to the off position (or remove the cord if your supply doesn't have a switch), then reapply power and the system powers back on. Fairly simple solution that may meet the OP's needs, though I am sure you worked something out by now. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.