mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Add log text when omr-bypass restarted by shadowsocks rules up
This commit is contained in:
parent
b63eee8e00
commit
e5f43f1dc0
1 changed files with 4 additions and 1 deletions
|
@ -391,7 +391,10 @@ rules_up() {
|
|||
done
|
||||
ss_rules
|
||||
[ "$(uci -q get openmptcprouter.settings.disable_ipv6)" = "1" ] || ss_rules6
|
||||
[ -f /etc/init.d/omr-bypass ] && /etc/init.d/omr-bypass reload
|
||||
[ -f /etc/init.d/omr-bypass ] && {
|
||||
logger -t "Shadowsocks" "Reload omr-bypass rules"
|
||||
/etc/init.d/omr-bypass reload
|
||||
}
|
||||
}
|
||||
|
||||
rules_down() {
|
||||
|
|
Loading…
Reference in a new issue