[swss]: Export platform as env variable in docker-swss (#524)

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
This commit is contained in:
Shuotian Cheng 2017-04-21 08:21:41 -07:00 committed by lguohan
parent 2c4c6e9ceb
commit 7dc1045c26

View File

@ -1,5 +1,7 @@
#!/bin/bash
export platform=`sonic-cfggen -m /etc/sonic/minigraph.xml -v platform`
function start_app {
orchagent $ORCHAGENT_ARGS &
portsyncd $PORTSYNCD_ARGS &