shellcheck: fix SC3014 == in place of =

Fixes SC3014 (error): In dash, == in place of = is not supported.

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
Ramon Roche 2025-06-17 11:32:58 -07:00 committed by Beat Küng
parent 83606cb0fc
commit 58dcfb0a02

View File

@ -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