diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2016-06-21 15:47:58 +0200 |
---|---|---|
committer | Christian Gromm <christian.gromm@microchip.com> | 2016-06-21 15:47:58 +0200 |
commit | cc311e5f822c28c1b4f270b001130fe76b57c18c (patch) | |
tree | 5d00b8777a17ff4b5bb719ed646b26565cd9772f | |
parent | cd6e46d117934139efdf5fac33fbeb59b66e45b6 (diff) |
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 <christian.gromm@microchip.com>
-rwxr-xr-x | S98most-demo | 27 |
1 files changed, 27 insertions, 0 deletions
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 |