Skip to content

Commit

Permalink
Use nju mirror as default
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG committed Sep 24, 2023
1 parent 1f47b4d commit 5821400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ files/root/*
!files/etc/uci-defaults/91-system
!files/etc/uci-defaults/99-ipv6
!files/etc/uci-defaults/99-daed
!files/etc/uci-defaults/99-opkg
!files/etc/uci-defaults-proxy-client

!files/etc/hotplug.d/
Expand Down
3 changes: 3 additions & 0 deletions files/etc/uci-defaults/99-opkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sed -e 's,https://downloads.immortalwrt.org,https://mirror.nju.edu.cn/immortalwrt,g' \
-e 's,https://mirrors.vsean.net/openwrt,https://mirror.nju.edu.cn/immortalwrt,g' \
-i.bak /etc/opkg/distfeeds.conf

0 comments on commit 5821400

Please sign in to comment.