blob: 3ad62026639d2432f57576526bcee3ab3ba176df [file] [log] [blame]
[Unit]
Description=Indicate a successful boot via LEDs
Requires=multi-user.target
After=multi-user.target
[Service]
Type=oneshot
ExecStartPre=/bin/sh -c '[ "$(/bin/systemctl list-units --failed --all --no-legend --no-pager)" == "" ]'
ExecStart=/bin/sh -c 'echo default-on > /sys/class/leds/status-ok/trigger'