[PC-BSD Commits] r16414 - pcbsd/current/src-qt4/warden/bin

svn at pcbsd.org svn at pcbsd.org
Sun Apr 15 09:20:50 PDT 2012


Author: kris
Date: 2012-04-15 16:20:50 +0000 (Sun, 15 Apr 2012)
New Revision: 16414

Modified:
   pcbsd/current/src-qt4/warden/bin/warden
Log:

Don't show the GUI if not installed



Modified: pcbsd/current/src-qt4/warden/bin/warden
===================================================================
--- pcbsd/current/src-qt4/warden/bin/warden	2012-04-15 16:09:06 UTC (rev 16413)
+++ pcbsd/current/src-qt4/warden/bin/warden	2012-04-15 16:20:50 UTC (rev 16414)
@@ -35,9 +35,13 @@
 
 Type in help <command> for information and usage about that command
 
-  help - This help file
-   gui - Launch the GUI menu
+  help - This help file"
 
+if [ -e "${PROGDIR}/bin/warden-gui" ] ; then
+   echo "   gui - Launch the GUI menu"
+fi
+
+echo "
     auto - Toggles the autostart flag for a jail
   chroot - Launches chroot into a jail 
   create - Creates a new jail 



More information about the Commits mailing list