Matt Spinler | 72a1406 | 2017-02-17 12:34:40 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Scan FSI devices |
| 3 | Wants=obmc-power-on@%i.target |
| 4 | After=obmc-power-on@%i.target |
Matt Spinler | acb9ab4 | 2017-02-27 11:38:35 -0600 | [diff] [blame] | 5 | Wants=obmc-host-start-pre@%i.target |
| 6 | Before=obmc-host-start-pre@%i.target |
Matt Spinler | 72a1406 | 2017-02-17 12:34:40 -0600 | [diff] [blame] | 7 | Conflicts=obmc-power-chassis-off@%i.target |
Matt Spinler | 72a1406 | 2017-02-17 12:34:40 -0600 | [diff] [blame] | 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 |