diff options
author | px4dev <px4@purgatory.org> | 2012-10-29 21:46:56 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-29 21:47:51 -0700 |
commit | 0616d5834039cc08057b862f80f8129a7b4948af (patch) | |
tree | 3e7359e388c53bc92244773f4a990fabb00ebaf0 /ROMFS | |
parent | 7203ba797e40b146e7b85b83a6f691e260245a58 (diff) | |
download | px4-firmware-0616d5834039cc08057b862f80f8129a7b4948af.tar.gz px4-firmware-0616d5834039cc08057b862f80f8129a7b4948af.tar.bz2 px4-firmware-0616d5834039cc08057b862f80f8129a7b4948af.zip |
Add 'show' and 'test' verbs to the boardinfo command. Teach rcS how to use the new version.
Diffstat (limited to 'ROMFS')
-rwxr-xr-x | ROMFS/scripts/rcS | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ROMFS/scripts/rcS b/ROMFS/scripts/rcS index b5fbfe0f5..4152494e0 100755 --- a/ROMFS/scripts/rcS +++ b/ROMFS/scripts/rcS @@ -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 ] |