summaryrefslogtreecommitdiffstats
path: root/lava-slave/scripts/start.sh
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2017-10-25 13:45:56 +0200
committerCorentin LABBE <clabbe@baylibre.com>2017-10-25 14:11:58 +0200
commit905a723528e499e9eae193b4d72388076d561f6c (patch)
tree71286e054b5dc8ff32ebd72a3bd2f4d392a27cae /lava-slave/scripts/start.sh
parent626402f90d0f8435e9268268180d46fe3b58f040 (diff)
Add support for conmux
Diffstat (limited to 'lava-slave/scripts/start.sh')
-rwxr-xr-xlava-slave/scripts/start.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/lava-slave/scripts/start.sh b/lava-slave/scripts/start.sh
index f442e8d..dcbbcd7 100755
--- a/lava-slave/scripts/start.sh
+++ b/lava-slave/scripts/start.sh
@@ -10,5 +10,14 @@ service tftpd-hpa start || exit 4
rm -f /var/run/lava-slave.pid
service lava-slave start || exit 5
+touch /var/run/conmux-registry
+/usr/sbin/conmux-registry 63000 /var/run/conmux-registry&
+sleep 2
+for item in $(ls /etc/conmux/*cf)
+do
+ echo "Add $item"
+ /usr/sbin/conmux $item &
+done
+
# start an http file server for boot/transfer_overlay support
(cd /var/lib/lava/dispatcher; python -m SimpleHTTPServer 80)