linux 노트북 덮개를 닫아도 동작하게 하는 방법
1. login.conf 파일 열기(관리자 모드일때는 sudo 생략가능)
sudo vi /etc/systemd/logind.conf
2. 아래 명령어 입력 (HandleLidSwitch에 '=ignore' 수정)
HandleLidSwitch=ignore 으로 수정 (앞에 # 주석 없애기)
3. 적용 시키기 위해 restart 하기
systemctl restart systemd-logind
'Linux' 카테고리의 다른 글
| [Linux] Linux 명령어 (0) | 2022.01.16 |
|---|---|
| [Linux] CentOS 리눅스 static ip 설정 (0) | 2022.01.16 |
| [Linux] CentOS7 mySQL 설치 전 유선랜 설정 (0) | 2022.01.09 |
| CentOS 7 무선랜 설정 하는 방법 - NetworkManage 이용 (0) | 2022.01.09 |
| CentOS7 USB로 설치하기 (0) | 2022.01.09 |