aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
Diffstat (limited to 'ROMFS')
-rwxr-xr-xROMFS/scripts/rcS4
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 ]