Project

General

Profile

« Previous | Next » 

Revision be54a703

Added by Luiz Souza 8 months ago

pfSense-Installer: Import the network settings from the Netgate Installer.

Read a JSON file with the Netgate Installer settings on the first boot and set
up the LAN and WAN.

Ticket: #13129

View differences:

src/etc/rc.bootup
122 122

  
123 123
mwexec("/usr/sbin/gnid > {$g['vardb_path']}/uniqueid 2>/dev/null");
124 124

  
125
/* Import the Installer network settings. */
126
if (file_exists("{$g['conf_path']}/installer-settings.json")) {
127
	echo "Importing the network settings from the Netgate Installer...";
128
	installer_settings_import();
129
	echo "done.\n";
130
}
131

  
125 132
// Only do the alternate interface checks if:
126 133
// 1) The user has not yet run the initial wizard; and
127 134
// 2) The user has not used the console menu to setup interface assignments

Also available in: Unified diff