mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +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()
|
start_service()
|
||||||
{
|
{
|
||||||
if [ -f /etc/backup/installed_packages.txt ]; then
|
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
|
grep "\toverlay" /etc/backup/installed_packages.txt | cut -f1 | xargs -r opkg -V0 install
|
||||||
rm /etc/backup/installed_packages.txt
|
rm /etc/backup/installed_packages.txt
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue