diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-14 21:56:18 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-14 21:56:18 -0400 |
commit | cf7cd237d4466d9b41263769c3ba34af97bca5f0 (patch) | |
tree | 6c48b3db5ea946313a45bc1973229adaad40f0e1 | |
parent | 48f7f102f64e9af6c0f2e55d22fb2c03b3280891 (diff) | |
download | pfsense-cf7cd237d4466d9b41263769c3ba34af97bca5f0.zip pfsense-cf7cd237d4466d9b41263769c3ba34af97bca5f0.tar.gz |
Probe disk before creating ZFS easy install string
-rw-r--r-- | usr/local/www/installer.php | 2 |
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"> |