Revision 573ec19d
Added by Renato Botelho over 4 years ago
src/etc/rc.newwanip | ||
---|---|---|
42 | 42 |
global $oldip, $curwanip, $g; |
43 | 43 |
|
44 | 44 |
/* restart packages */ |
45 |
log_error("{$g['product_name']} package system has detected an IP change or dynamic WAN reconnection - $oldip -> $curwanip - Restarting packages.");
|
|
45 |
log_error("{$g['product_label']} package system has detected an IP change or dynamic WAN reconnection - $oldip -> $curwanip - Restarting packages.");
|
|
46 | 46 |
send_event("service reload packages"); |
47 | 47 |
} |
48 | 48 |
|
Also available in: Unified diff
Add product_label global variable
Introduce product_label global variable, by default with same value of
product_name. The idea is to make it easier for rebranded products to
change the name on all visual texts while internal structures are
preserved.
While here, remove deprecated $g['platform'] and also replace places
with pfSense hardcoded on text messages by $g['product_label'].
No functional changes are expected.