start led at startup with this

This commit is contained in:
Owen 2024-05-07 09:39:02 +00:00
parent d27c1b591a
commit 310c333f49

View File

@ -0,0 +1,7 @@
[Unit]
Description=MQ Pro status LED setup
After=network.target
[Service]
ExecStart=/bin/sh -c '/usr/bin/echo phy0rx > /sys/class/leds/blue:status/trigger'
[Install]
WantedBy=default.target