Projet

Général

Profil

« Précédent | Suivant » 

Révision bd0b5d2d

Ajouté par Chris Buechler il y a plus de 9 ans

Remove the minimum NIC warning, this dates back to when minimum 2 NICs were supported and it made sense to throw this message at people. It's obvious a network appliance requires at least one NIC.

Voir les différences:

etc/inc/config.console.inc
191 191
	
192 192
		echo <<<EOD
193 193
	
194
*NOTE*  {$g['product_name']} requires {$g['minimum_nic_count_text']} assigned interface(s) to function.
195
        If you do not have {$g['minimum_nic_count_text']} interfaces you CANNOT continue. 
196

  
197
        If you do not have at least {$g['minimum_nic_count']} *REAL* network interface card(s)
198
        or one interface with multiple VLANs then {$g['product_name']}
199
        *WILL NOT* function correctly.
200

  
201 194
If you do not know the names of your interfaces, you may choose to use
202 195
auto-detection. In that case, disconnect all interfaces now before
203 196
hitting 'a' to initiate auto detection.
......
231 224
			}
232 225
			
233 226
			if($lanif == "") {
234
				if($g['minimum_nic_count'] < 2) {
235
					break;	
236
				} else {
237
					fclose($fp);
238
					return;
239
				}
227
				fclose($fp);
228
				return;
240 229
			}
241 230
	
242 231
			if ($lanif === "a")

Formats disponibles : Unified diff