0
点赞
收藏
分享

微信扫一扫

设置电脑休眠


不允许休眠

$ systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

查看状态

$ systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target

允许休眠

$ systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

参考:

​​https://zhuanlan.zhihu.com/p/468870436​​


举报

相关推荐

0 条评论