Add 'show' and 'test' verbs to the boardinfo command. Teach rcS how to use the new version.

This commit is contained in:
px4dev
2012-10-29 21:46:56 -07:00
parent 7203ba797e
commit 0616d58340
4 changed files with 159 additions and 16 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ else
#
# Are we attached to a PX4IOAR (AR.Drone carrier board)?
#
if boardinfo -t 7
if boardinfo test name PX4IOAR
then
set BOARD PX4IOAR
if [ -f /etc/init.d/rc.PX4IOAR ]
@@ -99,7 +99,7 @@ else
#
# Are we attached to a PX4IO?
#
if boardinfo -t 6
if boardinfo test name PX4IO
then
set BOARD PX4IO
if [ -f /etc/init.d/rc.PX4IO ]