mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Redirect error for sysupgrade
This commit is contained in:
parent
5d38d60559
commit
cb7c547b00
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue