Project

General

Profile

« Previous | Next » 

Revision 65929949

Added by Scott Ullrich over 18 years ago

Show a BIG FAT WARNING that under 128 megaytes does not work during initial setup if <128 megs of ram detected.

View differences:

etc/inc/config.inc
1046 1046

  
1047 1047
	$fp = fopen('php://stdin', 'r');
1048 1048

  
1049
	$memory = get_memory();
1050
	$avail = $memory[0];
1051

  
1052
	if($avail < 128) {
1053
		echo "\n\n\n";
1054
		echo "DANGER!  WARNING!\n\n";
1055
		echo "pfSense requires *ATLEAST* 128 megs of ram to function correctly.\n";
1056
		echo "Only ($avail) megs of ram has been detected.";
1057
		echo "\nPress ENTER to continue.";
1058
		fgets($fp);
1059
		echo "\n";
1060
	}
1061

  
1049 1062
	$iflist = get_interface_list();
1050 1063

  
1051 1064
	echo <<<EOD

Also available in: Unified diff