diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index bafa85c827..86b28e38a4 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -224,7 +224,7 @@ else # Look for airframe in ROMFS . ${R}etc/init.d/rc.autostart - if [ ${VEHICLE_TYPE} == none ] + if [ ${VEHICLE_TYPE} = none ] then # Use external startup file if [ $STORAGE_AVAILABLE = yes ] @@ -235,7 +235,7 @@ else fi fi - if [ ${VEHICLE_TYPE} == none ] + if [ ${VEHICLE_TYPE} = none ] then echo "ERROR [init] No airframe file found for SYS_AUTOSTART value" param set SYS_AUTOSTART 0