mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Fix restart of omr-bypass in schedule
This commit is contained in:
parent
17c84979e2
commit
a605265756
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ fi
|
|||
|
||||
if [ -f /etc/init.d/omr-bypass ] && (([ -e /usr/sbin/iptables-nft-save ] && [ "$(iptables-nft-save 2>/dev/null | grep omr-bypass)" = "" ]) || [ "$(iptables-save 2>/dev/null | grep omr-bypass)" = "" ]) && [ "$(pgrep -f omr-bypass)" = "" ]; then
|
||||
_log "Can't find omr-bypass rules, restart omr-bypass..."
|
||||
/etc/init.d/omr-bypass 2>&1 >/dev/null
|
||||
/etc/init.d/omr-bypass start 2>&1 >/dev/null
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue