summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-22 11:54:43 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-22 11:54:43 -0500
commita3ccdf6e116e94513d698cf626051e7de02f9cef (patch)
treef1f34dbc030852de120f7277b0bc6601023d46f2 /usr
parent4e8d55ddc814fd8a329f6b96e4d58b3522f5a18d (diff)
downloadpfsense-a3ccdf6e116e94513d698cf626051e7de02f9cef.zip
pfsense-a3ccdf6e116e94513d698cf626051e7de02f9cef.tar.gz
Add newline and comment header for each disk
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/installer/installer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php
index ffb72b8..b81011e 100644
--- a/usr/local/www/installer/installer.php
+++ b/usr/local/www/installer/installer.php
@@ -78,10 +78,11 @@ function write_out_pc_sysinstaller_config($disks, $bootmanager = "bsd") {
if($disk <> $lastdisk) {
$lastdisk = $disk;
$numdisks++;
+ $diskdefs .= "# disk {$disk}\n";
$diskdefs .= "disk{$numdisks}={$disk}\n";
$diskdefs .= "partition=all\n";
$diskdefs .= "bootManager={$bootmanager}\n";
- $diskdefs .= "commitDiskPart\n";
+ $diskdefs .= "commitDiskPart\n\n";
}
$diskareas .= "disk{$numdisks}-part={$fstype} {$size} {$mountpoint} \n";
if($encpass)
OpenPOWER on IntegriCloud