blob: 32d6a826e3ef3c1506c937ada4cc44393063a860 [file] [log] [blame]
[Unit]
Description=Read OpenPOWER-format VPD from EEPROM
ConditionFileNotEmpty={envfiledir}/obmc/inventory
Wants=mapper-wait@-xyz-openbmc_project-inventory.service
After=mapper-wait@-xyz-openbmc_project-inventory.service
[Service]
Restart=no
Type=oneshot
EnvironmentFile={envfiledir}/obmc/inventory
ExecStart={sbindir}/openpower-read-vpd --vpd $EEPROM --fru $FRUS --object $PATHS