mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Check if omr-bypass is installed on schedule before trying to set settings
This commit is contained in:
parent
65a10f0910
commit
08e9d8b4ff
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ ! -e /etc/init.d/omr-bypass ] && exit 0
|
||||
bypassipvs4s=$(ipset -o save list omr_dst_bypass_srv_vpn1_4 2>/dev/null)
|
||||
[ -z "$bypassipvs4s" ] && {
|
||||
ipv4set=$(nft -j list set inet fw4 "omr_dst_bypass_srv_vpn1_4" 2>/dev/null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue