blob: 4fe853192f10ae2d8cf578d071931934385107fb [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:green/trigger'