blob: 95b57914827f5a5363081ab88b9208b677888785 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Read %I EEPROM
3Wants=mapper-wait@-org-openbmc-managers-System.service
4After=mapper-wait@-org-openbmc-managers-System.service
5Wants=mapper-wait@-org-openbmc-inventory-%i.service
6After=mapper-wait@-org-openbmc-inventory-%i.service
7
8[Service]
9Restart=no
10Type=oneshot
11EnvironmentFile={envfiledir}/obmc/eeproms/%I
12ExecStart={sbindir}/phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
13
14[Install]
15WantedBy={SYSTEMD_DEFAULT_TARGET}