dadc17d9e6
* Use MAC from EEPROM for PortChannels Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Use MAC from EEPROM in DEVICE_METADATA Will affect MAC for VLAN interfaces Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Get MAC via decode-syseeprom Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * hw-management is now a service Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Add error handling for MAC fetch process Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
18 lines
351 B
Django/Jinja
18 lines
351 B
Django/Jinja
[Unit]
|
|
Description=Update minigraph and set configuration based on minigraph
|
|
After=rc-local.service
|
|
After=database.service
|
|
Requires=database.service
|
|
{% if sonic_asic_platform == 'mellanox' -%}
|
|
Requires=hw-management.service
|
|
{% endif -%}
|
|
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/updategraph
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|