Revision 573ec19d
Added by Renato Botelho over 4 years ago
src/etc/inc/interfaces.inc | ||
---|---|---|
3538 | 3538 |
|
3539 | 3539 |
$fd_set = fopen("{$g['tmp_path']}/{$if}_setup.sh", "w"); |
3540 | 3540 |
fwrite($fd_set, "#!/bin/sh\n"); |
3541 |
fwrite($fd_set, "# {$g['product_name']} wireless configuration script.\n\n");
|
|
3541 |
fwrite($fd_set, "# {$g['product_label']} wireless configuration script.\n\n");
|
|
3542 | 3542 |
|
3543 | 3543 |
$wlan_setup_log = fopen("{$g['tmp_path']}/{$if}_setup.log", "w"); |
3544 | 3544 |
|
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.