Commit f8fce9de authored by intrigeri's avatar intrigeri
Browse files

laptop-mode-tools: don't control autosuspend.

Some USB input devices don't support autosuspend, see e.g.:
https://github.com/systemd/systemd/issues/340

This change might help fix #10850, but even if it doesn't, it makes
sense to me that we don't let laptop-mode-tools fiddle with this
on a Live system.

Refs: #10850
parent 92f414f7
#!/bin/sh
set -e
echo "Tweaking laptop-mode-tools"
sed -i'' 's,^CONTROL_RUNTIME_AUTOSUSPEND=1$,CONTROL_RUNTIME_AUTOSUSPEND=0,' \
/etc/laptop-mode/conf.d/runtime-pm.conf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment