blob: 8f94e28ab3bef9c104eec359dcf2af137b5b8ce6 [file] [log] [blame]
Matt Spinler72a14062017-02-17 12:34:40 -06001[Unit]
2Description=Scan FSI devices
3Wants=obmc-power-on@%i.target
4After=obmc-power-on@%i.target
Matt Spinleracb9ab42017-02-27 11:38:35 -06005Wants=obmc-host-start-pre@%i.target
6Before=obmc-host-start-pre@%i.target
Matt Spinler72a14062017-02-17 12:34:40 -06007Conflicts=obmc-power-chassis-off@%i.target
8
9[Service]
10ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan"
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
15RequiredBy=obmc-power-chassis-on@%i.target