aboutsummaryrefslogtreecommitdiff
path: root/etc/systemd/system/fix-f4-led.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/systemd/system/fix-f4-led.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/systemd/system/fix-f4-led.service b/etc/systemd/system/fix-f4-led.service
new file mode 100644
index 0000000..87ccb0f
--- /dev/null
+++ b/etc/systemd/system/fix-f4-led.service
@@ -0,0 +1,11 @@
+# Enable with
+# systemctl enable --now fix-f4-led.service
+[Unit]
+Description=Fix F4 LED on Thinkpad
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c "echo 0 > /sys/class/leds/platform::micmute/brightness"
+
+[Install]
+WantedBy=multi-user.target