Compared files  

Left
/fw/roborock.vacuum.p5/3.5.4_0528/xout/_root/usr/share/udhcpc/default.script
Last modified2018-08-20 02:24:28
Size1.2 Kb (53 Lines)
EncodingLatin 1 - ANSI (CP1252) default
Right
/fw/roborock.vacuum.p5/3.5.8_0698/xout/_root/usr/share/udhcpc/default.script
Last modified2020-04-20 11:22:51
Size1.7 Kb (66 Lines)
EncodingLatin 1 - ANSI (CP1252) default


   Comparison Statistics  

Detailed Statistics

All Changes
 BlocksLines
Unchanged253
Inserted113
Deleted00
Ignored00
Changed00




   Comparison Details  

45 skipped lines
46 46         echo "nameserver $i" >> "$tmpfile"
47 47         done
48 48         mv "$tmpfile" "$realconf"
  49  
  50                 defaultdns="114.114.114.114"
  51                 defaultconf="/mnt/default/roborock.conf"
  52                 if [ -f ${defaultconf} ]; then
  53                         grep -wq "location=prc" "${defaultconf}"
  54                         if [ $? -eq 1 ]; then
  55                                 defaultdns="8.8.8.8"
  56                         fi
  57                 fi
  58                 grep -q "${defaultdns}" "${realconf}"
  59                 if [ $? -eq 1 ]; then
  60                         echo "nameserver ${defaultdns}" >> ${realconf}
  61                 fi
49 62         ;;
50 63 esac
51 64  
2 skipped lines

   Text comparison Options  

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