关闭debian的自动休眠

Auth:猫饭       Date:2022/02/17       Cat:代码       Word:共147字       Views:190

默认开启的自动休眠很难受,动不动就断网

执行以下命令即可

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
关闭debian的自动休眠插图

检查是否成功关闭

systemctl status sleep.target
关闭debian的自动休眠插图1
出现这个就是关闭成功了

除非注明,猫饭文章均为原创,本文地址 https://maofun.com/2088.html,转载请以链接形式注明出处。

作者: 简介:

《关闭debian的自动休眠》留言数:0

发表留言