summaryrefslogtreecommitdiffstats
path: root/startDemo-d.sh
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2016-12-08 16:46:07 +0100
committerChristian Gromm <christian.gromm@microchip.com>2016-12-08 16:46:07 +0100
commit0a28683a1ff9f3975c8b68b15017cf342bab5f3d (patch)
tree2f350b709db4d45532fc0624cfce22ec11e43ccf /startDemo-d.sh
parent18c9e9fc0000861257ab06f6a033612b0c567674 (diff)
src: vod-server: import sources
This patch adds the source tree of the Video-On-Demand server and its configuration scripts. Change-Id: I6db8c43d46c7450baf117a541bd7153496dbcd4c Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Diffstat (limited to 'startDemo-d.sh')
-rwxr-xr-xstartDemo-d.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/startDemo-d.sh b/startDemo-d.sh
new file mode 100755
index 0000000..131988c
--- /dev/null
+++ b/startDemo-d.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+if [ ! "$(whoami)" = "root" ]
+then
+ echo Warning you are not root, expect problems!
+fi
+
+
+./loadDriver-d.sh &
+
+sleep 3
+
+if [ -e ../../NetworkManager/Server/NetworkManager ]
+then
+../../NetworkManager/Server/NetworkManager config-d.xml &
+else
+./NetworkManager config-d.xml &
+fi
+
+sleep 5
+
+./VideoOnDemand -i ca14 -i ca16 -i ep03 -i ep04 -v &
+