1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2019-07-14 21:12:10 +02:00
parent b6cc1a3a31
commit 51af004088
3 changed files with 7 additions and 2 deletions

View file

@ -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
}
}