Skip to content

Commit

Permalink
未防止快照版本opkg update失败取消自动切换清华源
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Jul 28, 2023
1 parent 73259f5 commit 708f031
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
3. 自带SmartDNS+AdGuard Home配置(AdGuard Home 默认密码:```password```
4. 随固件编译几乎全部kmod(无sfe),拒绝kernel版本不兼容(kmod在Releases allkmod.zip中,建议与固件一同下载)
5. 固件自带OpenWrt-K工具支持升级官方源没有的软件包(使用```openwrt-k```命令)
6. 使用清华镜像源加快软件包下载
7. 提供多种格式固件以应对不同需求
6. 提供多种格式固件以应对不同需求

### 内置功能

Expand Down
1 change: 0 additions & 1 deletion files/etc/uci-defaults/zzz-chenmozhijin
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
uci set network.lan.ipaddr="192.168.1.1"
uci commit network
/etc/init.d/network restart
sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
sed -i "/^DISTRIB_DESCRIPTION='/s/'$/ Compiled by 沉默の金'/" /etc/openwrt_release
[ -d "/etc/init.d" ] && chmod +x /etc/init.d/*
[ -e "/usr/bin/AdGuardHome/AdGuardHome" ] && chmod 755 /usr/bin/AdGuardHome/AdGuardHome
Expand Down

0 comments on commit 708f031

Please sign in to comment.