opkg: use ustc mirror

This commit is contained in:
CN_SZTL 2019-11-16 20:57:04 +08:00
parent b0a53606e1
commit 3b2d02c964
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -34,8 +34,7 @@ uci commit minidlna
ln -sf /sbin/ip /usr/bin/ip
#sed -i 's/downloads.openwrt.org/openwrt.proxy.ustclug.org/g' /etc/opkg/distfeeds.conf
sed -i 's/http/https/g' /etc/opkg/distfeeds.conf
sed -i 's#http://downloads.openwrt.org#https://mirrors.ustc.edu.cn/lede#g' /etc/opkg/distfeeds.conf
sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow
sed -i 's|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g' /etc/passwd