From 6a6b0a1d44ee443b5d8658da379afd7c188840c5 Mon Sep 17 00:00:00 2001 From: Shu0T1an ChenG Date: Tue, 10 Oct 2017 17:30:27 -0700 Subject: [PATCH] [swss]: Export ASIC as the env variable - the env variable 'platform' is not universal across different platforms this line will be removed once the related code in sonic-swss is refactored Signed-off-by: Shu0T1an ChenG --- dockers/docker-orchagent/orchagent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-orchagent/orchagent.sh b/dockers/docker-orchagent/orchagent.sh index 7103afcb81e9..57f28e4e78dc 100755 --- a/dockers/docker-orchagent/orchagent.sh +++ b/dockers/docker-orchagent/orchagent.sh @@ -4,7 +4,7 @@ # vendor specific code. export platform=`sonic-cfggen -v onie_switch_asic` -ASIC=`sonic-cfggen -y /etc/sonic/sonic_version.yml -v asic_type` +export ASIC=`sonic-cfggen -y /etc/sonic/sonic_version.yml -v asic_type` MAC_ADDRESS=`ip link show eth0 | grep ether | awk '{print $2}'`