| Matt Spinler | d09f750 | 2017-04-07 14:21:33 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Scan FSI devices | ||||
| 3 | Wants=obmc-power-on@%i.target | ||||
| 4 | After=obmc-power-on@%i.target | ||||
| 5 | Wants=obmc-host-start-pre@%i.target | ||||
| 6 | Before=obmc-host-start-pre@%i.target | ||||
| 7 | Conflicts=obmc-power-chassis-off@%i.target | ||||
| 8 | |||||
| 9 | [Service] | ||||
| 10 | ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan" | ||||
| 11 | Type=oneshot | ||||
| 12 | RemainAfterExit=yes | ||||
| 13 | |||||
| 14 | [Install] | ||||
| 15 | RequiredBy=obmc-power-chassis-on@%i.target | ||||