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

Merge pull request #234 from Ysurac/develop

sync
This commit is contained in:
suyuan 2022-04-23 14:13:24 +08:00 committed by GitHub
commit 6fb461ba75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1655,7 +1655,7 @@ if [ "$(iptables-save | grep omr-bypass)" = "" ] && [ "$(pgrep omr-bypass)" = ""
/etc/init.d/omr-bypass 2>&1 >/dev/null
fi
if [ -f /etc/backup/installed_packages.txt ]; then
if [ -f /etc/backup/installed_packages.txt ] && [ -n "$(grep overlay /etc/backup/installed_packages.txt)" ]; then
_log "Reinstall packages..."
/etc/init.d/sysupgrade restart 2>&1 >/dev/null
fi