From 3c31ce860e956ad6b7b8f5dfc75a33b747a5ff21 Mon Sep 17 00:00:00 2001 From: zhao Date: Tue, 21 Jan 2025 00:15:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20hanwckf=5Fmt7986.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- hanwckf_mt7986.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hanwckf_mt7986.sh b/hanwckf_mt7986.sh index 79cbe3a..6afc197 100644 --- a/hanwckf_mt7986.sh +++ b/hanwckf_mt7986.sh @@ -22,10 +22,6 @@ echo -e "\nsrc-git extraipk https://github.com/xiangfeidexiaohuo/extra-ipk" >> f echo -e "${YELLOW}修改默认IP${NC}" sed -i 's/192.168.1.1/10.0.0.1/g' package/base-files/files/bin/config_generate -# 设置默认密码 -sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow -sed -i 's/root:::0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow - # profile echo -e "${YELLOW}profile${NC}" sed -i 's#\\u@\\h:\\w\\\$#\\[\\e[32;1m\\][\\u@\\h\\[\\e[0m\\] \\[\\033[01;34m\\]\\W\\[\\033[00m\\]\\[\\e[32;1m\\]]\\[\\e[0m\\]\\\$#g' package/base-files/files/etc/profile @@ -233,7 +229,7 @@ chmod +x files/root/version.txt # 加载 .config echo -e "${YELLOW}加载 .config${NC}" echo -e "${YELLOW}加载自定义配置...${NC}" -curl -skL https://git.kejizero.online/zhao/files/raw/branch/main/Config/mtk.config -o .config +curl -skL https://git.kejizero.online/zhao/files/raw/branch/main/Config/mtk7986.config -o .config # 生成默认配置 echo -e "${GREEN}生成默认配置...${NC}"