Compared files  

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


   Comparison Statistics  

Detailed Statistics

All Changes
 BlocksLines
Unchanged318
Inserted00
Deleted00
Ignored00
Changed236




   Comparison Details  

12 skipped lines
13 13         let cnt++
14 14     done
15 15  
  16     if [ ! -d /tmp/root/var/wpa_supplicant ]; then
  17         mkdir -p /tmp/root/var/wpa_supplicant
  18     fi
  19  
  20     if [ -f ${DEBUG_VERSION_FILE} ]; then
  21         CONFIG=" -Dnl80211 -B -s -d"
  22     else
  23         CONFIG=" -Dnl80211 -B -s"
  24     fi
  25  
  26     if [ -f /usr/bin/wifi_manager -o "$1" == "wifi_test" ]; then
16     wpa_supplicant -B -iwlan0 -Dnl80211 -c/etc/wifi/wpa_supplicant.conf 27         wpa_supplicant ${CONFIG} -iwlan0 -c/etc/wifi/wpa_supplicant.conf
  28     else
  29         if [ ! -d /data/config/wifi ]; then
  30             mkdir -p /data/config/wifi
  31         fi
  32  
  33         killall -9 wpa_supplicant wpa_cli > /dev/null 2>&1
  34         rm -f /tmp/wpa_ctrl_* > /dev/null 2>&1
  35         if [ $# -lt 2 ]; then
  36             if [ -f ${WPA_CONF_FILE} ]; then
  37                 wpa_supplicant ${CONFIG} -i${WIFI_NODE} -c${WPA_CONF_FILE}
  38                 wpa_cli -B -i${WIFI_NODE} -a /usr/bin/wpa_event.sh
  39             else
  40                 /usr/bin/wifi_setup.sh "sta" &
  41             fi
  42         else
  43             wpa_supplicant ${CONFIG} -i$1 -c$2
  44             wpa_cli -B -i$1 -a /usr/bin/wpa_event.sh
  45         fi
  46     fi
17 47 }
18 48  
19    
20 start 49 start $@
  50  
21 51  

   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