mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-19 04:47:20 +02:00
Compare commits
3 Commits
8d5f4a87e5
...
102f79e0fc
Author | SHA1 | Date | |
---|---|---|---|
102f79e0fc | |||
44f09933dc | |||
9769e541c3 |
1
bash/.gitignore
vendored
1
bash/.gitignore
vendored
@ -19,3 +19,4 @@ update-font-cache.bash
|
||||
resolv.conf-generate.bash
|
||||
systemd-resolv.conf-generate.bash
|
||||
systemd-resolv.conf-restore.bash
|
||||
traditional-resolv.conf-generate.bash
|
||||
|
@ -27,8 +27,12 @@ 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 &)
|
||||
|
||||
# If 1, DoH3 is supported
|
||||
# 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?
|
||||
(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
bash/traditional-resolv.conf-generate.bash
Symbolic link
1
bash/traditional-resolv.conf-generate.bash
Symbolic link
@ -0,0 +1 @@
|
||||
../submodules/shell-things/etc/traditional-resolv.conf-generate.bash
|
@ -1 +1 @@
|
||||
Subproject commit 10bec4c7821d12a60fd86c76f12d8b3506e8e97e
|
||||
Subproject commit 3b5434eb1de25d27492c28da6b32a1cb191397e8
|
Loading…
x
Reference in New Issue
Block a user