blob: 4321422fd9543c9309d922aaa25e410c0b7a179d [file] [log] [blame]
Matt Spinlerd09f7502017-04-07 14:21:33 -05001[Unit]
2Description=Scan FSI devices
3Wants=obmc-power-on@%i.target
4After=obmc-power-on@%i.target
5Wants=obmc-host-start-pre@%i.target
6Before=obmc-host-start-pre@%i.target
Josh D. King9d5d7f42017-04-06 14:43:46 -05007Conflicts=obmc-chassis-poweroff@%i.target
Matt Spinlerd09f7502017-04-07 14:21:33 -05008
9[Service]
10ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan"
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Josh D. King9d5d7f42017-04-06 14:43:46 -050015RequiredBy=obmc-chassis-poweron@%i.target