[swss]: Export platform as env variable in docker-swss (#524)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
This commit is contained in:
parent
2c4c6e9ceb
commit
7dc1045c26
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
export platform=`sonic-cfggen -m /etc/sonic/minigraph.xml -v platform`
|
||||||
|
|
||||||
function start_app {
|
function start_app {
|
||||||
orchagent $ORCHAGENT_ARGS &
|
orchagent $ORCHAGENT_ARGS &
|
||||||
portsyncd $PORTSYNCD_ARGS &
|
portsyncd $PORTSYNCD_ARGS &
|
||||||
|
Loading…
Reference in New Issue
Block a user