blob: ca19f1d99ed870b0cd6b015a7e2bed78d12fd486 [file] [log] [blame]
[Unit]
Description=Scan FSI devices
Wants=obmc-power-on@%i.target
After=obmc-power-on@%i.target
Wants=obmc-host-start-pre@%i.target
Before=obmc-host-start-pre@%i.target
Conflicts=obmc-power-chassis-off@%i.target
ConditionPathExists=!/run/openbmc/chassis@%i-on
[Service]
ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan"
Type=oneshot
RemainAfterExit=yes
[Install]
RequiredBy=obmc-power-chassis-on@%i.target