[PC-BSD Commits] r2004 - pcbsd/trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Mon Jun 2 11:41:03 PDT 2008


Author: kris
Date: 2008-06-02 11:41:03 -0700 (Mon, 02 Jun 2008)
New Revision: 2004

Modified:
   pcbsd/trunk/PCInstall/pcinstall.ui.h
Log:

Added check to GUI to enable ZFS option if the user selected ZFS from boot
loader



Modified: pcbsd/trunk/PCInstall/pcinstall.ui.h
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.ui.h	2008-06-02 18:36:28 UTC (rev 2003)
+++ pcbsd/trunk/PCInstall/pcinstall.ui.h	2008-06-02 18:41:03 UTC (rev 2004)
@@ -95,7 +95,11 @@
     comboFileSystem->insertItem("UFS2");
     comboFileSystem->insertItem("UFS2 + Soft Updates");
     comboFileSystem->insertItem("UFS2 + Journaling");
-    comboFileSystem->insertItem("ZFS (Experimental)");
+    // Check the currently running language
+    if ( QFile::exists( "/tmp/zfsEnabled" ) )
+    {
+       comboFileSystem->insertItem("ZFS (Experimental)");
+    }
     comboFileSystem->setCurrentItem(2);
 
     



More information about the Commits mailing list