aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service')
-rw-r--r--recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service b/recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service
new file mode 100644
index 000000000..e6e0c1d69
--- /dev/null
+++ b/recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=AGL hvac LED write agl-service-hvac-leds.conf
+Before=agl-service-hvac.service
+
+[Service]
+Type=oneshot
+ExecStartPre=/usr/bin/logger '#hvac i2c device has been attached - %i'
+ExecStart=/usr/sbin/hvac-conf-in-rewrite.sh %i