blob: ee83c7e402c0ec5bea5670e1313ebb79c36cb343 [file] [log] [blame]
Brad Bishop7e164be2016-08-08 08:53:13 -04001[Unit]
2Description=Read %I EEPROM
Patrick Venturec4c2bed2017-04-11 14:03:49 -07003Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
Brad Bishop7e164be2016-08-08 08:53:13 -04005
6[Service]
7Restart=no
8Type=oneshot
9EnvironmentFile={envfiledir}/obmc/eeproms/%I
10ExecStart={sbindir}/phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
11
12[Install]
13WantedBy={SYSTEMD_DEFAULT_TARGET}