Skip to content

Commit

Permalink
[swss]: Export platform as env variable in docker-swss (#524)
Browse files Browse the repository at this point in the history
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
  • Loading branch information
Shuotian Cheng authored and lguohan committed Apr 21, 2017
1 parent 2c4c6e9 commit 7dc1045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockers/docker-orchagent/start.sh
Original file line number Diff line number Diff line change
@@ -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 &
Expand Down

0 comments on commit 7dc1045

Please sign in to comment.