diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2012-07-02 03:51:01 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2012-07-02 04:00:16 -0600 |
commit | e0a45ce03c033d40afbcd9a64b16dc686a000465 (patch) | |
tree | dc15160203b2ec244342f17c927e8ad2b1b0f647 /etc/rc.bootup | |
parent | 58d609d42024af9845b73d63c8c3fe28c5ba4e18 (diff) | |
download | pfsense-e0a45ce03c033d40afbcd9a64b16dc686a000465.zip pfsense-e0a45ce03c033d40afbcd9a64b16dc686a000465.tar.gz |
Do not directly print out a message when checking the interfaces, instead saving the list to use later. Display this list before the interface mismatch message. Fixes #2468 and fixes #2531
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index a4479ab..3f5a1f4 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -190,6 +190,8 @@ if($g['platform'] == "jail") { */ while(is_interface_mismatch() == true) { led_assigninterfaces(); + if (file_exists("{$g['tmp_path']}/missing_interfaces")) + echo "Warning: Configuration references interfaces that do not exist: " . file_get_contents("{$g['tmp_path']}/missing_interfaces") . "\n"; echo "\nNetwork interface mismatch -- Running interface assignment option.\n"; $ifaces = get_interface_list(); if (is_array($ifaces)) { |