summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-14 21:56:18 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-14 21:56:18 -0400
commitcf7cd237d4466d9b41263769c3ba34af97bca5f0 (patch)
tree6c48b3db5ea946313a45bc1973229adaad40f0e1
parent48f7f102f64e9af6c0f2e55d22fb2c03b3280891 (diff)
downloadpfsense-cf7cd237d4466d9b41263769c3ba34af97bca5f0.zip
pfsense-cf7cd237d4466d9b41263769c3ba34af97bca5f0.tar.gz
Probe disk before creating ZFS easy install string
-rw-r--r--usr/local/www/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php
index 2f69832..404f804 100644
--- a/usr/local/www/installer.php
+++ b/usr/local/www/installer.php
@@ -672,10 +672,10 @@ function installer_main() {
unlink("/tmp/.pc-sysinstall/pc-sysinstall.log");
head_html();
body_html();
+ $disk = installer_find_first_disk();
// Only enable ZFS if this exists. The install will fail otherwise.
if(file_exists("/boot/gptzfsboot"))
$zfs_enabled = "<tr bgcolor=\"#9A9A9A\"><td align=\"center\"><a href=\"installer.php?state=verify_before_install&fstype=ZFS\">Easy installation of {$g['product_name']} using the ZFS filesystem on disk {$disk}</a></td></tr>";
- $disk = installer_find_first_disk();
page_table_start();
echo <<<EOF
<form action="installer.php" method="post" state="step1_post">
OpenPOWER on IntegriCloud