mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Set swap size correctly
This commit is contained in:
parent
2b69de496b
commit
81d226650b
@ -62,7 +62,7 @@ function write_out_pc_sysinstaller_config($disk, $fstype = "UFS+S", $swapsize =
|
||||
return true;
|
||||
}
|
||||
if($swapsize) {
|
||||
$diskareas = "disk0-part=SWAP $swap none \n";
|
||||
$diskareas = "disk0-part=SWAP {$swapsize} none \n";
|
||||
$diskareas .= "disk1-part={$fstype} 0 / \n";
|
||||
} else {
|
||||
$diskareas = "disk1-part={$fstype} 0 / \n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user