clarify logs generated by newwanip(v6) when restarting packages, it's not only IP changes that end up here (by design).
This commit is contained in:
parent
8560c7568a
commit
038f6e9676
|
@ -53,7 +53,7 @@ function restart_packages() {
|
|||
/* restart packages */
|
||||
system_ntp_configure(false);
|
||||
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true);
|
||||
log_error("{$g['product_name']} package system has detected an IP change $oldip -> $curwanip ... Restarting packages.");
|
||||
log_error("{$g['product_name']} package system has detected an IP change or dynamic WAN reconnection - $oldip -> $curwanip - Restarting packages.");
|
||||
send_event("service reload packages");
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ function restart_packages() {
|
|||
/* restart packages */
|
||||
system_ntp_configure(false);
|
||||
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true);
|
||||
log_error("{$g['product_name']} package system has detected an IP change $oldipv6 -> $curwanipv6 ... Restarting packages.");
|
||||
log_error("{$g['product_name']} package system has detected an IP change or dynamic WAN reconnection - $oldipv6 -> $curwanipv6 - Restarting packages.");
|
||||
send_event("service reload packages");
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue