Filipowicz251 / mijia-1080P-hacks

436 stars 66 forks source link

CLOUD_DISABLED=1 not implemented? #61

Open robromano opened 5 years ago

robromano commented 5 years ago

The valhalla.sh script doesn't really disable the cloud. Is this intentional?

This is the snippet, says "TODO":

if [ $CLOUD_DISABLED -eq 1 ];then                                                                                          
    echo -e "...Disabling Cloud...(TODO)"  >> $sd_mountdir/$LOGFILE 2>&1                                                   
    # echo "" > /etc/init.d/S59miio_agent                                                                                  
    # echo "" > /etc/init.d/S60miio_avstreamer                                                                             
    # echo "" > /etc/init.d/S93ble                                                                                         
    #mount --bind /tmp/miio_avstreamer /mnt/data/miio_av/miio_avstreamer                                                   
    #echo " echo \"...Disabling Cloud...\" " > /tmp/miio_client                                                            
    #mount --bind /tmp/miio_client /mnt/data/ot_wifi_tool/miio_client                                                      
    # echo "" > /etc/init.d/S93miio_client                                                                                 
    # /etc/init.d/S51cron stop  >> $sd_mountdir/$LOGFILE 2>&1                                                              
    # echo "" > /etc/init.d/S94miio_bt                                                                                     
    # echo "" > /etc/init.d/S94miot_qrcode                                                                                 
    # echo "" > /etc/init.d/S95miio_ota                                                                                    
    #echo "" > /mnt/data/restartd/restartd.conf