配置笔记本电脑安装centos7关闭盖子不休眠

/etc/systemd/logind.conf文件中添加一行配置HandleLidSwitch=ignore

然后重启就可以了

猜你喜欢

转载自blog.csdn.net/Let_me_tell_you/article/details/80723449