mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-02 02:57:45 +00:00
* Add support for platform topology configuration service
This service invokes the platform plugin for platform specific topology
configuration.
The path for platform plugin script is:
/usr/share/sonic/device/$PLATFORM/plugins/config-topology.sh
If the platform plugin is not available, this service does nothing.
Signed-off-by: anamehra <anamehra@cisco.com>
21 lines
407 B
Django/Jinja
21 lines
407 B
Django/Jinja
[Unit]
|
|
Description=Config initialization and migration service
|
|
After=rc-local.service
|
|
After=database.service
|
|
After=config-topology.service
|
|
Requires=config-topology.service
|
|
Requires=database.service
|
|
{% if sonic_asic_platform == 'mellanox' -%}
|
|
Requires=hw-management.service
|
|
{% endif -%}
|
|
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/config-setup boot
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|