diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2006-11-22 22:36:35 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2006-11-22 22:36:35 +0000 |
commit | da3cb207095c6f75cceec1a6223d66ede6f90961 (patch) | |
tree | d6a7a2df507e35330166b1605fdd4be8f0ab6f0c /etc | |
parent | 670fad2f1c26ce46ca2100383bf6e1b597ecd35b (diff) | |
download | pfsense-da3cb207095c6f75cceec1a6223d66ede6f90961.zip pfsense-da3cb207095c6f75cceec1a6223d66ede6f90961.tar.gz |
If the available memory is between 97 and 128 MB do not prompt. This is
the same approach as system.inc does. This fixes boot for people with
onboard graphic cards and you miss a few MB.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index f6d144d..aa98e50 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1046,7 +1046,7 @@ function set_networking_interfaces_ports() { $memory = get_memory(); $avail = $memory[0]; - if($avail < 128) { + if($avail > 97 and $avail < 128) { echo "\n\n\n"; echo "DANGER! WARNING!\n\n"; echo "pfSense requires *ATLEAST* 128 megs of ram to function correctly.\n"; @@ -1573,4 +1573,4 @@ function set_device_perms() { if($g['booting']) echo "."; $config = parse_config(); -?>
\ No newline at end of file +?> |