Enable fan speed monitoring on startup

The fan controller gets reset to the default settings on every startup.
The default setting i to disable fan speed monitoring. This patch
enables fan speed monitoring on startup.

This makes it so that you can actually read fan speed data from velia
and not just "0". New version of the linux max31790 patch actually
completely breaks velia (because disabled fans return error), so velia
needs to be changed to handle disabled fans.

Change-Id: I67f69a79d138d0f95f556df32fe327356751bd58
diff --git a/board/czechlight/clearfog/overlay/usr/lib/systemd/system/max31780-fans.service b/board/czechlight/clearfog/overlay/usr/lib/systemd/system/max31780-fans.service
new file mode 100644
index 0000000..a7b1d56
--- /dev/null
+++ b/board/czechlight/clearfog/overlay/usr/lib/systemd/system/max31780-fans.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Enable fans
+ConditionKernelCommandLine=|czechlight=sdn-inline-g2
+ConditionKernelCommandLine=|czechlight=sdn-roadm-add-drop-g2
+ConditionKernelCommandLine=|czechlight=sdn-roadm-coherent-a-d-g2
+ConditionKernelCommandLine=|czechlight=sdn-roadm-hires-add-drop-g2
+ConditionKernelCommandLine=|czechlight=sdn-roadm-line-g2
+ConditionKernelCommandLine=|czechlight=sdn-roadm-hires-add-drop-g2
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/bash -c 'for FAN in /sys/bus/i2c/devices/1-0020/hwmon/hwmon*/fan{1,2,3,4}_enable; do echo 1 > "$FAN"; done'
diff --git a/board/czechlight/clearfog/overlay/usr/lib/systemd/system/multi-user.target.wants/max31780-fans.service b/board/czechlight/clearfog/overlay/usr/lib/systemd/system/multi-user.target.wants/max31780-fans.service
new file mode 120000
index 0000000..9f2b3d3
--- /dev/null
+++ b/board/czechlight/clearfog/overlay/usr/lib/systemd/system/multi-user.target.wants/max31780-fans.service
@@ -0,0 +1 @@
+../max31780-fans.service
\ No newline at end of file