posix shell: required updates for RPi, bepob, ocpoc, eagle & exxcelsior

- RPi works
- the rest is not tested, and requires a bit more
  (such as uploading the bin/ directory)
This commit is contained in:
Beat Küng
2018-08-04 17:26:05 +02:00
committed by Lorenz Meier
parent 2454ef9240
commit d90ac975a7
11 changed files with 75 additions and 8 deletions

View File

@@ -1,7 +1,15 @@
#!/usr/bin/bash
# PX4 commands need the 'px4-' prefix in bash.
# (px4-alias.sh is expected to be in the PATH)
source px4-alias.sh
uorb start
param select /root/rootfs/eeprom/parameters
param load
if [ -f /root/rootfs/eeprom/parameters ]
then
param load
fi
param set SYS_AUTOSTART 4001
param set MAV_BROADCAST 1
param set MAV_TYPE 2