Commit 5f20dd
2024-12-30 11:10:04 Steven Anderson: init| /dev/null .. ScriptFU/unix/linux/disablepowerbutton.md | |
| @@ 0,0 1,8 @@ | |
| + | # disablepowerbutton |
| + | |
| + | #### Edit `/etc/systemd/logind.conf` |
| + | # update HandlePowerKey to "ignore" |
| + | HandlePowerKey=ignore |
| + | |
| + | #### Restart systemd-logind |
| + | sudo systemctl restart systemd-logind |