From cc311e5f822c28c1b4f270b001130fe76b57c18c Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Tue, 21 Jun 2016 15:47:58 +0200 Subject: staging: most-can-demo-bin: add startup script This patch adds a startup script to the staging area. This needs to be modified according the current rootfs and copied to /etc/rc2.d Change-Id: I05defb59964c62288e28d73827ed96da1e938fcc Signed-off-by: Christian Gromm --- S98most-demo | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 S98most-demo diff --git a/S98most-demo b/S98most-demo new file mode 100755 index 0000000..0670dd1 --- /dev/null +++ b/S98most-demo @@ -0,0 +1,27 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: MOST drivers and examples +# Required-Start: $remote_fs $all +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: +# Short-Description: Microchip / K2L MOST driver and samples +# Description: This is the autostart script for the MOST demos +### END INIT INFO + +cd /home/root/most-demo +./loadDriver.sh & + +sleep 2 + +./NetworkManager -i config-agl.xml & + +sleep 2 + +./VideoOnDemand -p /home/root/most-demo & + +sleep 2 + +./vod-client play CatsWorld.ts & + +: exit 0 -- cgit 1.2.3-korg