From 58dcfb0a02dabf515832238bc4ee72db344eba8b Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Tue, 17 Jun 2025 11:32:58 -0700 Subject: [PATCH] shellcheck: fix SC3014 == in place of = Fixes SC3014 (error): In dash, == in place of = is not supported. Signed-off-by: Ramon Roche --- ROMFS/px4fmu_common/init.d/rcS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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