mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
commit
6fb461ba75
2 changed files with 2 additions and 2 deletions
|
@ -511,7 +511,7 @@ _intf_rule() {
|
|||
intf=$(ifstatus "$1" | jsonfilter -q -e '@["l3_device"]')
|
||||
[ -n "$(echo $intf | grep '@')" ] && intf=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
|
||||
[ -z "$intf" ] && config_get intf $1 device
|
||||
[ -n "$(echo $intf | grep '/') " ] && return
|
||||
[ -n "$(echo $intf | grep '/')" ] && return
|
||||
#count=$((count+1))
|
||||
config_get count $1 metric
|
||||
local mode
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue