请修复一下一键安装脚本的指定文件bug

31 views
Skip to first unread message

Fran

unread,
Apr 7, 2018, 4:12:03 AM4/7/18
to OpenWrt-dist

if !(grep -q "openwrt_dist" /etc/opkg.conf); then
opkg-key add openwrt-dist.pub
echo "src/gz openwrt_dist http://openwrt-dist.sourceforge.net/packages/LEDE/base/$ARCH" >>/etc/opkg/customfeeds.conf
echo "src/gz openwrt_dist_luci http://openwrt-dist.sourceforge.net/packages/LEDE/luci" >>/etc/opkg/customfeeds.conf
fi

这里的/etc/opkg.conf应该是/etc/opkg/customfeeds.conf

不然每次运行脚本都会添加源,导致无法安装
Reply all
Reply to author
Forward
0 new messages