e23a36e734
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
17 lines
240 B
Bash
Executable File
17 lines
240 B
Bash
Executable File
#!/bin/bash
|
|
/etc/init.d/mosquitto start
|
|
|
|
sleep 1
|
|
|
|
/usr/local/bin/bicycle-stat /bs_in /bs_out
|
|
|
|
# if argument(s) given - execute argument(s) in container. Otherwise loop.
|
|
if [ "$#" -gt 0 ]; then
|
|
exec $@
|
|
else
|
|
while :;
|
|
do
|
|
sleep 1
|
|
done
|
|
fi
|