chore(drivers): only start vtxtable when required

This commit is contained in:
ttechnick
2026-03-18 13:36:44 +01:00
committed by Nick
parent cdf26dd310
commit e4fe5bbad5
+7 -4
View File
@@ -633,12 +633,15 @@ else
# #
# Start the VTX services. # Start the VTX services.
# #
set RC_VTXTABLE ${R}etc/init.d/rc.vtxtable if ! param compare VTX_SER_CFG 0
if [ -f ${RC_VTXTABLE} ]
then then
. ${RC_VTXTABLE} set RC_VTXTABLE ${R}etc/init.d/rc.vtxtable
if [ -f ${RC_VTXTABLE} ]
then
. ${RC_VTXTABLE}
fi
unset RC_VTXTABLE
fi fi
unset RC_VTXTABLE
# #
# Set additional parameters and env variables for selected AUTOSTART. # Set additional parameters and env variables for selected AUTOSTART.