From f886626e84b99eacda30baf8ce3e2827e8bb6cc7 Mon Sep 17 00:00:00 2001 From: Ingar Date: Sun, 13 Feb 2022 13:14:40 +0100 Subject: Added systemd service files to control LED status during boot. --- systemd/led-shutdown.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 systemd/led-shutdown.service (limited to 'systemd/led-shutdown.service') diff --git a/systemd/led-shutdown.service b/systemd/led-shutdown.service new file mode 100644 index 0000000..07fc163 --- /dev/null +++ b/systemd/led-shutdown.service @@ -0,0 +1,11 @@ +[Unit] +Description=ledctl to indicate shut down status. +DefaultDependencies=no + +[Service] +Type=simple +ExecStart=/usr/bin/ledctl off + +[Install] +WantedBy=halt.target shutdown.target + -- cgit v1.2.3