diff --git a/src/etc/inc/config.console.inc b/src/etc/inc/config.console.inc index bb2659ed1d..1415e86522 100644 --- a/src/etc/inc/config.console.inc +++ b/src/etc/inc/config.console.inc @@ -377,6 +377,10 @@ EOD; touch("{$g['tmp_path']}/assign_complete"); + if (file_exists("/conf/trigger_initial_wizard")) { + // Let the system know that the interface assign part of initial setup has been done. + touch("{$g['conf_path']}/assign_complete"); + } } } diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup index f33b434a00..60919e024c 100755 --- a/src/etc/rc.bootup +++ b/src/etc/rc.bootup @@ -138,7 +138,10 @@ if (mwexec("/bin/kenv -q pfSense.boot 2>/dev/null") != 0) { /* run any early shell commands specified in config.xml */ system_do_shell_commands(1); -if (file_exists("/conf/trigger_initial_wizard")) { +// Only do the alternate interface checks if: +// 1) The user has not yet run the initial wizard; and +// 2) The user has not used the console menu to setup interface assignments +if (file_exists("/conf/trigger_initial_wizard") && !file_exists("/conf/assign_complete")) { check_for_alternate_interfaces(); } diff --git a/src/usr/local/www/wizards/setup_wizard.xml b/src/usr/local/www/wizards/setup_wizard.xml index 72363e2a32..ba6382aaf2 100644 --- a/src/usr/local/www/wizards/setup_wizard.xml +++ b/src/usr/local/www/wizards/setup_wizard.xml @@ -35,6 +35,7 @@ unlink_if_exists('/conf/trigger_initial_wizard'); + unlink_if_exists('/conf/assign_complete');