blob: 4bae65d3f1ed1f67408809d502dba664128647dd [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
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050010ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
11SyslogIdentifier=phosphor-read-eeprom
Brad Bishop7e164be2016-08-08 08:53:13 -040012
13[Install]
14WantedBy={SYSTEMD_DEFAULT_TARGET}