Linux: added example startup script for plane
This commit is contained in:
parent
a693907429
commit
e629a8d67a
13
Tools/Linux_HAL_Essentials/scripts/start_plane.sh
Executable file
13
Tools/Linux_HAL_Essentials/scripts/start_plane.sh
Executable file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user