blob: 4fe853192f10ae2d8cf578d071931934385107fb [file] [log] [blame]
Jan Kundrát713b2c12018-07-04 20:30:11 +02001[Unit]
2Description=Indicate a successful boot via LEDs
3Requires=multi-user.target
4After=multi-user.target
5
6[Service]
7Type=oneshot
8ExecStartPre=/bin/sh -c '[ "$(/bin/systemctl list-units --failed --all --no-legend --no-pager)" == "" ]'
Jan Kundrát8f3357f2018-08-08 14:16:32 +02009ExecStart=/bin/sh -c 'echo default-on > /sys/class/leds/status:green/trigger'