blob: 1486cace0b4589c6e26979a02c1eb4d27a678528 [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
William A. Kennington III1eada362020-03-30 12:03:28 -070010ExecStartPre={bindir}/of-name-to-eeprom.sh {envfiledir}/obmc/eeproms/%I
Michael Tritzfbd81be2017-08-15 14:07:23 -050011ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
12SyslogIdentifier=phosphor-read-eeprom
Brad Bishop3c90f592016-08-08 08:53:13 -040013
14[Install]
Patrick Ventured607cfb2019-04-04 12:15:22 -070015WantedBy=multi-user.target