add new ENABLE_RTL8189FS_DRIVER option

This commit is contained in:
Alfonso Gamboa 2022-06-15 19:54:38 -07:00
parent e4b424c989
commit b17e2ccd24
2 changed files with 9 additions and 0 deletions

View File

@ -46,6 +46,13 @@ if [ -f /params/config/.product_config ]; then
fi
fi
## REPLACE STOCK MODULES
if [[ "$ENABLE_RTL8189FS_DRIVER" == "true" ]]; then
echo "Enable RTL8189FS"
sed -i 's/\/system\/driver\/rtl8189ftv.ko/\/opt\/8189fs_wz.ko rtw_power_mgnt=0 rtw_enusbss=0/g' /opt/wz_mini/tmp/.storage/app_init.sh
fi
##RTSP SERVER INIT
if [[ "$RTSP_HI_RES_ENABLED" == "true" ]] || [[ "$RTSP_LOW_RES_ENABLED" == "true" ]] && ! [[ -e /tmp/dbgflag ]]; then

View File

@ -32,6 +32,8 @@ ENABLE_IPTABLES="false"
ENABLE_NFSv4="false"
ENABLE_RTL8189FS_DRIVER="false"
#####ACCESSORIES#####
REMOTE_SPOTLIGHT="false"
REMOTE_SPOTLIGHT_HOST="0.0.0.0"