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 | ||||
5 | Conflicts=obmc-power-chassis-off@%i.target | ||||
6 | |||||
7 | [Service] | ||||
8 | ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan" | ||||
9 | Type=oneshot | ||||
10 | RemainAfterExit=yes | ||||
11 | |||||
12 | [Install] | ||||
13 | RequiredBy=obmc-power-chassis-on@%i.target |