본문 바로가기

KNOWHOW/back

리눅스 노트북 덮개와 무관하게 전원 유지






/etc/systemd/logind.conf 파일을 vi 편집기로 열고


#HandleLidSwitch=suspend 주석되어 있는 부분을 풀고 suspend -> ignore로 수정


HandleLidSwitch=ignore


재부팅


참고) https://www.unix.com/man-page/centos/5/logind.conf/