This repository was archived by the owner on Jan 5, 2022. It is now read-only.
File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ digraph AdebarFiles {
13
13
label = " files pulled from the device" ;
14
14
15
15
conf [ shape = folder , label = " ./conf" ];
16
- conffiles [ shape = Mrecord, fontsize = 11, label = " build.prop|gps.conf|hosts|packages.xml|wpa_supplicant.conf" ];
16
+ conffiles [ shape = Mrecord, fontsize = 11, label = " build.prop|gps.conf|hosts|packages.xml|wpa_supplicant.conf|softap.conf " ];
17
17
conf -> conffiles;
18
18
}
19
19
Original file line number Diff line number Diff line change @@ -20,16 +20,28 @@ getSettings() {
20
20
# build.prop
21
21
msg=" $(( adb ${ADBOPTS} pull / system/ build.prop "${BUILDPROP} ") 2 >& 1 )"
22
22
doProgress "- build.prop: $msg " 2
23
+
24
+ # wpa_supplicant.conf
23
25
if [[ ${ROOT_COMPAT} - eq 1 ]]; then
24
26
msg="$((adb ${ADBOPTS} shell "su - c 'cat / data/ misc/ wifi/ wpa_supplicant.conf'" > "${CONFDIR} / wpa_supplicant.conf") 2 >& 1 )"
25
27
else
26
28
msg="$((adb ${ADBOPTS} pull / data/ misc/ wifi/ wpa_supplicant.conf "${CONFDIR} / wpa_supplicant.conf") 2 >& 1 )"
27
29
fi
28
30
[[ $? -ne 0 ]] && msg=$(ansi_code "${msg} " "red")
29
31
[[ -z "$msg " ]] && msg="OK"
30
-
31
- # wpa_supplicant.conf, gps.conf, hosts
32
32
doProgress "- wpa_supplicant.conf: $msg " 2
33
+
34
+ # softap.conf
35
+ if [[ ${ROOT_COMPAT} - eq 1 ]]; then
36
+ msg="$((adb ${ADBOPTS} shell "su - c 'cat / data/ misc/ wifi/ softap.conf'" > "${CONFDIR} / softap.conf") 2 >& 1 )"
37
+ else
38
+ msg="$((adb ${ADBOPTS} pull / data/ misc/ wifi/ softap.conf "${CONFDIR} / softap.conf") 2 >& 1 )"
39
+ fi
40
+ [[ $? -ne 0 ]] && msg=$(ansi_code "${msg} " "red")
41
+ [[ -z "$msg " ]] && msg="OK"
42
+ doProgress "- softap.conf: $msg " 2
43
+
44
+ # gps.conf, hosts
33
45
msg="$((adb ${ADBOPTS} pull / system/ etc/ gps.conf "${CONFDIR} / gps.conf") 2 >& 1 )"
34
46
doProgress "- gps.conf: $msg " 2
35
47
msg="$((adb ${ADBOPTS} pull / system/ etc/ hosts "${CONFDIR} / hosts") 2 >& 1 )"
You can’t perform that action at this time.
0 commit comments