mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-19 12:57:21 +02:00
Compare commits
No commits in common. "102f79e0fc52b1073d33bba3ec0245f2622a2ee9" and "8d5f4a87e59c59a4c373cd2542ae2eec4a7303f3" have entirely different histories.
102f79e0fc
...
8d5f4a87e5
1
bash/.gitignore
vendored
1
bash/.gitignore
vendored
@ -19,4 +19,3 @@ update-font-cache.bash
|
||||
resolv.conf-generate.bash
|
||||
systemd-resolv.conf-generate.bash
|
||||
systemd-resolv.conf-restore.bash
|
||||
traditional-resolv.conf-generate.bash
|
||||
|
@ -27,12 +27,8 @@ adb "$@" shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CON
|
||||
#(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &)
|
||||
(adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &)
|
||||
|
||||
# Should tell whether the DoH3 module exists
|
||||
(adb "$@" shell pm list package | grep com.android.resolv &)
|
||||
|
||||
# If 1, DoH3 is supported. How about trying to make it 1?
|
||||
# If 1, DoH3 is supported
|
||||
(adb "$@" shell cmd device_config get netd_native doh &)
|
||||
(adb "$@" shell cmd device_config put netd_native doh 1 &)
|
||||
|
||||
# Wait a bit and then reboot the device
|
||||
sleep 5
|
||||
|
@ -1 +0,0 @@
|
||||
../submodules/shell-things/etc/traditional-resolv.conf-generate.bash
|
@ -1 +1 @@
|
||||
Subproject commit 3b5434eb1de25d27492c28da6b32a1cb191397e8
|
||||
Subproject commit 10bec4c7821d12a60fd86c76f12d8b3506e8e97e
|
Loading…
x
Reference in New Issue
Block a user