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}"