Compared files  

Left
/fw/dreame.vacuum.p2041o/4.1.2_1107/xout/_root/etc/rc.d/miio_monitor.sh
Last modified2021-06-29 12:11:58
Size1.2 Kb (48 Lines)
EncodingLatin 1 - ANSI (CP1252) default
Right
/fw/dreame.vacuum.p2041/4.3.2_1108/xout/_root/etc/rc.d/miio_monitor.sh
Last modified2021-11-04 09:38:22
Size1.3 Kb (51 Lines)
EncodingLatin 1 - ANSI (CP1252) default


   Comparison Statistics  

Detailed Statistics

All Changes
 BlocksLines
Unchanged534
Inserted00
Deleted12
Ignored00
Changed329




   Comparison Details  

6 skipped lines
7 7 MIIO_CLIENT_LOG=/data/log/miio_client.log
8 8 MIIO_AGENT_LOG=/data/log/miio_agent.log
9 9  
10 if [ "$PRODUCT_NAME" == "p2036" ]; then 10 if [ "${BOARD_TYPE}" == "MR112" ]; then
11 11     LOG_MAX_SIZE=1048576
12 12 else
13 13     LOG_MAX_SIZE=5242880
6 skipped lines
20 20     exit 0
21 21 fi
22 22  
23 if [ -e /usr/bin/miio_client_helper_mjac.sh ]; then 23 if [ "$MIIO_SDK_MJAC" == "true" ]; then
24     MIIO_HELPER_PID=`pidof -o %PPID miio_client_helper_mjac.sh`  
25     MIIO_CLIENT_PID=`pidof -o %PPID miio_client` 24     MIIO_STR1=`grep "mjac_i2c" ${DEVICE_CONF_FILE} | cut -d '=' -f 2`
26     MIIO_AGENT_PID=`pidof -o %PPID miio_agent` 25     MIIO_STR2=`grep "mjac_gpio" ${DEVICE_CONF_FILE} | cut -d '=' -f 2`
27 26 else
28     DID=`grep "did=" ${DEVICE_CONF_FILE} | cut -d '=' -f 2` 27     MIIO_STR1=`grep "did=" ${DEVICE_CONF_FILE} | cut -d '=' -f 2`
29     KEY=`grep "key=" ${DEVICE_CONF_FILE} | cut -d '=' -f 2` 28     MIIO_STR2=`grep "key=" ${DEVICE_CONF_FILE} | cut -d '=' -f 2`
30   29 fi
  30  
31     if [[ -z "${DID}" -o -z "${KEY}" ]]; then 31 if [ -z "${MIIO_STR1}" -o -z "${MIIO_STR2}" ]; then
32         exit 0 32     exit 0
33     fi 33 fi
34   34  
  35 MIIO_CLIENT_PID=`pidof -o %PPID miio_client`
  36 MIIO_AGENT_PID=`pidof -o %PPID miio_agent`
  37 if [ -e /usr/bin/miio_client_helper_mjac.sh ]; then
  38     MIIO_HELPER_PID=`pidof -o %PPID miio_client_helper_mjac.sh`
  39 else
35 40     MIIO_HELPER_PID=`pidof -o %PPID miio_client_helper_nomqtt.sh`
36     MIIO_CLIENT_PID=`pidof -o %PPID miio_client`  
37     MIIO_AGENT_PID=`pidof -o %PPID miio_agent`  
38 41 fi
39 42  
40 43 if [ -z "${MIIO_HELPER_PID}" -o -z "${MIIO_CLIENT_PID}" -o -z "${MIIO_AGENT_PID}" ]
8 skipped lines

   Text comparison Options  

Syntax colouring language used: Shell
Match character case: yes.
Match line endings: no.
Match spaces

At start of lines: yes,
In middle of lines: yes,
At end of lines: yes.
Blank lines as empty lines: no.
Activate comparison algorithm
At word level: yes,
At character level: no.


   Legend  

Unchanged lineExample of unchanged line
Modified lineExample of modified line
Added lineExample of added line
Removed lineExample of removed line
Ignored lineExample of ignored line