DREAMER

how to block poweroff by remote control 본문

카테고리 없음

how to block poweroff by remote control

연소민 2022. 8. 5. 22:35
728x90
반응형

 해당 파일을 수정한다.

파일 : /etc/systemd/logind.conf

 

다음 항목이 Default로 존재하는데,

#HandlePowerKey=WhateverTheValueWasBefore

ignore로 변경

HandlePowerKey=ignore

즉시 적용시키기 위해 systemd-logind를 재시작한다.

sudo systemctl restart systemd-logind

 

현재 사용중인 샤오미 블루투스 리모콘의 전원버튼을 눌러도 꺼지지 않는것을 확인할 수 있다.

728x90
반응형
Comments