1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Redirect error for sysupgrade

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-02-18 08:29:08 +01:00
parent 5d38d60559
commit cb7c547b00

View file

@ -11,7 +11,7 @@
start_service()
{
if [ -f /etc/backup/installed_packages.txt ]; then
if [ "$(opkg -V0 update)" = "" ]; then
if [ "$(opkg -V0 update 2>&1)" = "" ]; then
grep "\toverlay" /etc/backup/installed_packages.txt | cut -f1 | xargs -r opkg -V0 install
rm /etc/backup/installed_packages.txt
fi