Andrew Geissler | dbaf865 | 2017-08-08 15:54:42 -0500 | [diff] [blame^] | 1 | [Unit] |
2 | Description=Scan FSI hub device | ||||
3 | Wants=fsi-scan@%i.service | ||||
4 | After=fsi-scan@%i.service | ||||
5 | Conflicts=obmc-chassis-poweroff@%i.target | ||||
6 | |||||
7 | [Service] | ||||
8 | ExecStart=/bin/sh -c "echo 1 > /sys/devices/platform/gpio-fsi/fsi0/slave@00:00/00:00:00:0a/fsi1/rescan" | ||||
9 | Type=oneshot | ||||
10 | RemainAfterExit=yes |