summaryrefslogtreecommitdiffstats
path: root/roles/ethtool/templates/logind.conf.j2
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-03 11:00:17 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-03 11:00:17 +0200
commite2e2fd3a111dc307fb8e54dae9689ff901e7e9c1 (patch)
tree9e36d5afa874fb50f05c9ce81ad7d5e475272103 /roles/ethtool/templates/logind.conf.j2
parent16c2395a58db566337224837df8dbe75d062baf6 (diff)
Update ethtool to handle laptop lid suspend issues
When using WoL with laptops (ex Lenovo) closing the lid suspends the laptop and breaks WoL, this is to allow configuring the lid behavior
Diffstat (limited to 'roles/ethtool/templates/logind.conf.j2')
-rw-r--r--roles/ethtool/templates/logind.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/ethtool/templates/logind.conf.j2 b/roles/ethtool/templates/logind.conf.j2
new file mode 100644
index 00000000..722e3a8a
--- /dev/null
+++ b/roles/ethtool/templates/logind.conf.j2
@@ -0,0 +1,2 @@
+[Login]
+HandleLidSwitchExternalPower={{ ethtool_lid_ac_action }}