Add a hackish script for ssyrepo's provisioning
I've been using this one for some time for the demo containers, but I
forgot to add it to VCS :(.
Change-Id: Ia4ef8a4a6666fde14eb893cedeebe9470e92f4e1
diff --git a/board/czechlight/common/overlay/root/doit.sh b/board/czechlight/common/overlay/root/doit.sh
new file mode 100755
index 0000000..a99405d
--- /dev/null
+++ b/board/czechlight/common/overlay/root/doit.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+set -eux -o pipefail
+shopt -s failglob
+
+for DIR in /etc/yang-setup/*; do
+ ${DIR}/install-yang.sh
+done
+for YANG in /usr/share/cla-sysrepo/yang/*.yang; do
+ sysrepoctl --install --yang ${YANG}
+done
+
+screen -d -m -S s1
+screen -S s1 -X screen 1 sysrepod -d -l3
+sleep 1
+screen -S s1 -X screen 2 sysrepo-plugind -d -l3
+screen -S s1 -X screen 3 netopeer2-server -d -v2
+screen -S s1 -X screen 4 cla-sysrepod --module dummy-amp --toplevel amplifier --static-properties /usr/share/cla-sysrepo/static-data/dummy-amp-notifications.static.data --properties-log-level 5 --sr-bridge-log-level 5
+screen -dr -S s1