Sleep-remove-linux
Jump to navigation
Jump to search
#remove sleep systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target grep -E '^[[:space:]]*HandleLidSwitch=' /etc/systemd/logind.conf 2>&1 >/dev/null ||(echo HandleLidSwitch=ignore >>/etc/systemd/logind.conf)