add platform to iccpd's env (#8945)

This commit is contained in:
novikauanton 2021-12-08 19:21:44 +02:00 committed by GitHub
parent a263edbc98
commit 969cea07aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
export platform=$(sonic-cfggen -d -y /etc/sonic/sonic_version.yml --var asic_type)
function start_app {
rm -f /var/run/iccpd/*
mclagsyncd &