mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Add log when dnsmasq is restarted or reloaded
This commit is contained in:
parent
4b638e2189
commit
a3b242f977
1 changed files with 7 additions and 2 deletions
|
@ -407,8 +407,13 @@ start_service() {
|
|||
config_load omr-bypass
|
||||
config_foreach _bypass_proto dpis
|
||||
|
||||
[ -z "$RELOAD" ] && /etc/init.d/dnsmasq restart
|
||||
[ -n "$RELOAD" ] && /etc/init.d/dnsmasq reload
|
||||
[ -z "$RELOAD" ] && {
|
||||
logger -t "omr-bypass" "Restart dnsmasq..."
|
||||
/etc/init.d/dnsmasq restart
|
||||
[ -n "$RELOAD" ] && {
|
||||
logger -t "omr-bypass" "Reload dnsmasq..."
|
||||
/etc/init.d/dnsmasq reload
|
||||
}
|
||||
logger -t "omr-bypass" "OMR-ByPass is running"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue