blob: 4bae65d3f1ed1f67408809d502dba664128647dd [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Read %I EEPROM
Patrick Ventured61c4c22017-04-11 14:03:49 -07003Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
Brad Bishop3c90f592016-08-08 08:53:13 -04005
6[Service]
7Restart=no
8Type=oneshot
9EnvironmentFile={envfiledir}/obmc/eeproms/%I
Michael Tritzfbd81be2017-08-15 14:07:23 -050010ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
11SyslogIdentifier=phosphor-read-eeprom
Brad Bishop3c90f592016-08-08 08:53:13 -040012
13[Install]
14WantedBy={SYSTEMD_DEFAULT_TARGET}