From b45e0dec27bcdcb20b34654fb2f0ccec67c2ba75 Mon Sep 17 00:00:00 2001 From: "t@marin" Date: Mon, 20 Mar 2023 10:15:20 +0700 Subject: [PATCH] remove the selection to create the DNS resolve.conf file. https://github.com/taamarin/box_for_magisk/issues/3#issuecomment-1475454926 --- customize.sh | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/customize.sh b/customize.sh index f89a1dd..b051434 100755 --- a/customize.sh +++ b/customize.sh @@ -95,36 +95,6 @@ unzip -o "${MODPATH}/dashboard.zip" -d /data/adb/box/dashboard/ >&2 unzip -o "${MODPATH}/dashboard.zip" -d /data/adb/box/clash/dashboard/ >&2 unzip -o "${MODPATH}/dashboard.zip" -d /data/adb/box/sing-box/dashboard/ >&2 -ui_print "" -ui_print "********************************************************" -ui_print "- do you want to add DNS nameservers in resolve.conf?" -ui_print "- Vol Up: to create the resolve.conf file." -ui_print "- Vol Down: to ignore the resolve.conf file." -while true ; do - getevent -lc 1 2>&1 | grep KEY_VOLUME > $TMPDIR/events - sleep 1 - if $(cat $TMPDIR/events | grep -q KEY_VOLUMEUP) ; then - ui_print "- Create a resolve.conf file if it doesn't already exist and add server nameservers." - if [ ! -f "/data/adb/modules/box_for_magisk/system/etc/resolv.conf" ]; then - cat > "${MODPATH}/system/etc/resolv.conf" <