mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Don't echo out line, send it to the system logs
This commit is contained in:
parent
37db27bbdd
commit
5e2a2a1e5c
@ -68,7 +68,7 @@ if(file_exists("/cf/conf/config.xml")) {
|
||||
$config_contents = file_get_contents("/cf/conf/config.xml");
|
||||
if(stristr($config_contents, "m0n0wall") == true) {
|
||||
/* user has just upgraded to m0n0wall, replace root xml tags */
|
||||
echo "Upgrading m0n0wall configuration to pfSense... ";
|
||||
log_error("Upgrading m0n0wall configuration to pfSense... ");
|
||||
$config_contents = str_replace("m0n0wall","pfsense", $config_contents);
|
||||
if (!config_validate($config_contents))
|
||||
log_error("ERROR! Could not convert m0n0wall -> pfsense in config.xml");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user