blob: c5b1ea1390140c3fb45979d8c81bbbca58d1eb75 [file] [log] [blame]
Matt Spinler1a35b162017-03-08 13:53:51 -06001[Unit]
2Description=Enable FSI
3Conflicts=fsi-disable.service
4ConditionDirectoryNotEmpty=!/sys/bus/platform/drivers/fsi-master-gpio/fsi-master
5
6[Service]
7ExecStart=/bin/sh -c "echo fsi-master > /sys/bus/platform/drivers/fsi-master-gpio/bind"
8ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan"
9Type=oneshot
10RemainAfterExit=yes