bugfix: custom download paths during firmware upgrade

Fixes #575
This commit is contained in:
Eric 2020-09-25 20:48:28 -07:00 committed by Joe AE6XE
parent 2c1bd9ce0e
commit e4a0c996ff
1 changed files with 2 additions and 3 deletions

View File

@ -89,9 +89,8 @@ boot() {
uci -c /etc/config.mesh commit aredn
# check values in distfeeds.conf against UCI settings
# and change distfeeds.conf if needed (upgrades?)
## commented for now, may need it later
#elif [ $ucirepo != $distrepo ]; then
# sed -i "s|$distrepo|$ucirepo|g" /etc/opkg/distfeeds.conf
elif [ $ucirepo != $distrepo ]; then
sed -i "s|$distrepo|$ucirepo|g" /etc/opkg/distfeeds.conf
fi
shift
done