Deepak Kodihalli | 4c3d73b | 2017-02-05 10:39:06 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Read OpenPOWER-format VPD from EEPROM |
| 3 | ConditionFileNotEmpty={envfiledir}/obmc/inventory |
Patrick Williams | 68c5b7b | 2017-03-14 22:40:38 -0500 | [diff] [blame] | 4 | Wants=mapper-wait@-xyz-openbmc_project-inventory.service |
| 5 | After=mapper-wait@-xyz-openbmc_project-inventory.service |
Deepak Kodihalli | 4c3d73b | 2017-02-05 10:39:06 -0600 | [diff] [blame] | 6 | |
| 7 | [Service] |
| 8 | Restart=no |
| 9 | Type=oneshot |
| 10 | EnvironmentFile={envfiledir}/obmc/inventory |
Deepak Kodihalli | 40d7d75 | 2017-02-22 01:28:32 -0600 | [diff] [blame] | 11 | ExecStart={sbindir}/openpower-read-vpd --vpd $EEPROM --fru $FRUS --object $PATHS |