Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Read %I EEPROM |
Patrick Venture | d61c4c2 | 2017-04-11 14:03:49 -0700 | [diff] [blame] | 3 | Wants=mapper-wait@-xyz-openbmc_project-inventory.service |
| 4 | After=mapper-wait@-xyz-openbmc_project-inventory.service |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 5 | |
| 6 | [Service] |
| 7 | Restart=no |
| 8 | Type=oneshot |
| 9 | EnvironmentFile={envfiledir}/obmc/eeproms/%I |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame^] | 10 | ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID |
| 11 | SyslogIdentifier=phosphor-read-eeprom |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 12 | |
| 13 | [Install] |
| 14 | WantedBy={SYSTEMD_DEFAULT_TARGET} |