diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-06-06 11:15:35 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-07-04 14:09:24 +0200 |
commit | 615e0d597510736dab68e41bd9dc002da6b2514f (patch) | |
tree | 5635957b16b4cbec74132b4f26affc5dba4c62ec /lava-slave/scripts/start.sh | |
parent | c1071d0f9b57958b22546abe8eadf670b3926b98 (diff) |
Implement ser2net
This patch add support for ser2net.
ser2net can be used by adding "use_ser2net: True" to uart.
Diffstat (limited to 'lava-slave/scripts/start.sh')
-rwxr-xr-x | lava-slave/scripts/start.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lava-slave/scripts/start.sh b/lava-slave/scripts/start.sh index 35e58a4..ef6eb68 100755 --- a/lava-slave/scripts/start.sh +++ b/lava-slave/scripts/start.sh @@ -8,6 +8,9 @@ if [[ -n "$LAVA_MASTER" ]]; then fi service tftpd-hpa start || exit 4 +if [ -s /etc/ser2net.conf ];then + service ser2net start || exit 7 +fi touch /var/run/conmux-registry /usr/sbin/conmux-registry 63000 /var/run/conmux-registry& |