From 44e8c7f35ceef27a24b6fbb2e571da804769bc85 Mon Sep 17 00:00:00 2001 From: lukaschan Date: Tue, 11 Oct 2022 14:01:36 +0800 Subject: [PATCH] Update x86-openwrt.sh --- configs/x86-openwrt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/x86-openwrt.sh b/configs/x86-openwrt.sh index 8dbbc18..4101f1c 100644 --- a/configs/x86-openwrt.sh +++ b/configs/x86-openwrt.sh @@ -40,5 +40,7 @@ sed -i "2i # network config" ./package/emortal/default-settings/files/99-default # 默认 IP 地址,旁路由时不会和主路由的 192.168.1.1 冲突 sed -i "3i uci set network.lan.ipaddr='192.168.2.252'" ./package/emortal/default-settings/files/99-default-settings sed -i "4i uci set network.lan.proto='static'" ./package/emortal/default-settings/files/99-default-settings +sed -i "23d" ./packages/net/udpxy/Makefile +sed -i "11,16c PKG_VERSION:=1.0-25.2\PKG_RELEASE:=1\PKG_SOURCE_PROTO:=git\PKG_SOURCE_URL:=https://github.com/haisongliang/udpxy.git\PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)\PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz\PKG_MIRROR_HASH:=de19890237c99b8f9951e6d43e2b269ecaf44d16" ./packages/net/udpxy/Makefile cd ..