distribution/packages/hardware/quirks/system.d/led-poweroff.service

12 lines
220 B
Desktop File

[Unit]
Description=Power LEDs off before shutting down.
After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecStop=/usr/bin/ledcontrol poweroff
[Install]
WantedBy=multi-user.target