mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Only reload rules when needed for omr-bypass
This commit is contained in:
parent
b6cc1a3a31
commit
51af004088
3 changed files with 7 additions and 2 deletions
|
@ -261,7 +261,7 @@ rules_up() {
|
|||
ss_rules
|
||||
[ -f /etc/init.d/omr-bypass ] && {
|
||||
logger -t "Shadowsocks" "Reload omr-bypass rules"
|
||||
/etc/init.d/omr-bypass reload
|
||||
/etc/init.d/omr-bypass reload_rules
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue