From e629a8d67ad4855f94d6bd4166f10150d6096af0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 19 Aug 2014 13:31:00 +1000 Subject: [PATCH] Linux: added example startup script for plane --- Tools/Linux_HAL_Essentials/scripts/start_plane.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 Tools/Linux_HAL_Essentials/scripts/start_plane.sh diff --git a/Tools/Linux_HAL_Essentials/scripts/start_plane.sh b/Tools/Linux_HAL_Essentials/scripts/start_plane.sh new file mode 100755 index 0000000000..41fd782cee --- /dev/null +++ b/Tools/Linux_HAL_Essentials/scripts/start_plane.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +cd /root +( + date + init 3 + killall -q udhcpd + (cd Linux_HAL_Essentials && ./startup.sh load) + while :; do + ./ArduPlane.elf -A /dev/ttyO0 -B /dev/ttyO5 + done +) >> plane.log 2>&1 +