mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix and more log for omr-bypass
This commit is contained in:
parent
5e435e3194
commit
ec9bf36bd4
1 changed files with 2 additions and 3 deletions
|
@ -99,9 +99,7 @@ _bypass_ip_set() {
|
|||
|
||||
start_service() {
|
||||
local count
|
||||
|
||||
uci -q del omr-bypass
|
||||
|
||||
logger -t "omr-bypass" "Starting OMR-ByPass..."
|
||||
ipset -q flush ss_rules_dst_bypass_all > /dev/null 2>&1
|
||||
ipset -q flush ss_rules6_dst_bypass_all > /dev/null 2>&1
|
||||
ipset -q --exist restore <<-EOF
|
||||
|
@ -156,6 +154,7 @@ start_service() {
|
|||
COMMIT
|
||||
EOF
|
||||
fi
|
||||
logger -t "omr-bypass" "OMR-ByPass is running"
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue