aboutsummaryrefslogtreecommitdiff
path: root/etc/systemd/system/fix-f4-led.service
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-06-25 05:00:16 -0400
committerRyan Kavanagh <rak@rak.ac>2022-06-25 05:00:25 -0400
commit78e602ab7e3c8ee78b7309ac1cad659564bf5bd6 (patch)
treef1a74390b15faff10f11f9bad5d1f3e1c2d3666e /etc/systemd/system/fix-f4-led.service
parentselect gitstatusd based on OS/arch (diff)
update systemd networking & system files
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