chore(drivers): only start vtxtable when required

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