Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / tests / integration / entrypoint.sh
1 #!/usr/bin/env bash
2
3 service dbus start
4 systemctl is-active --quiet dbus && echo dbus is running
5 service avahi-daemon start
6 /usr/sbin/otbr-agent -I wpan0 spinel+hdlc+uart:///dev/ttyUSB0 &
7 sleep 1
8 ot-ctl panid 0x1234
9 ot-ctl ifconfig up
10 ot-ctl thread start
11
12 if [ "$1" = "responder" ]; then
13     chip-im-responder
14 else
15     sleep infinity
16 fi