From c752c46abf9a5006f909ad0536f851ae57d09b09 Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Thu, 3 Apr 2025 17:24:57 +0300 Subject: [PATCH] Fix resolv_conf value --- podkop/files/etc/init.d/podkop | 1 + 1 file changed, 1 insertion(+) diff --git a/podkop/files/etc/init.d/podkop b/podkop/files/etc/init.d/podkop index 9ca6263..1ac9112 100755 --- a/podkop/files/etc/init.d/podkop +++ b/podkop/files/etc/init.d/podkop @@ -13,6 +13,7 @@ start_service() { sing_box_version=$(sing-box version | head -n 1 | awk '{print $3}') required_version="1.11.1" + resolv_conf="/etc/resolv.conf" if [ "$(echo -e "$sing_box_version\n$required_version" | sort -V | head -n 1)" != "$required_version" ]; then echo "The version of sing-box ($sing_box_version) is lower than the minimum version. Update sing-box: opkg update && opkg remove sing-box && opkg install sing-box"