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 |
Josh D. King | 9d5d7f4 | 2017-04-06 14:43:46 -0500 | [diff] [blame^] | 7 | Conflicts=obmc-chassis-poweroff@%i.target |
Matt Spinler | d09f750 | 2017-04-07 14:21:33 -0500 | [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] |
Josh D. King | 9d5d7f4 | 2017-04-06 14:43:46 -0500 | [diff] [blame^] | 15 | RequiredBy=obmc-chassis-poweron@%i.target |