[PC-BSD Commits] r7995 - pcbsd/current/system-overlay/usr/local/etc/rc.d

svn at pcbsd.org svn at pcbsd.org
Sun Nov 7 12:34:01 PST 2010


Author: kris
Date: 2010-11-07 12:34:01 -0800 (Sun, 07 Nov 2010)
New Revision: 7995

Modified:
   pcbsd/current/system-overlay/usr/local/etc/rc.d/gdm
Log:

Hide some unnecessary warnings from GDM



Modified: pcbsd/current/system-overlay/usr/local/etc/rc.d/gdm
===================================================================
--- pcbsd/current/system-overlay/usr/local/etc/rc.d/gdm	2010-11-07 01:06:43 UTC (rev 7994)
+++ pcbsd/current/system-overlay/usr/local/etc/rc.d/gdm	2010-11-07 20:34:01 UTC (rev 7995)
@@ -31,7 +31,7 @@
 }
 
 # Check if we are going to re-run the display setup wizard
-y=`kenv runwiz`
+y=`kenv runwiz 2>/dev/null`
 if [ $? -eq 0 ]; then
    if [ "$y" = "YES" ] ; then
      touch /tmp/.runxsetup
@@ -40,7 +40,7 @@
 fi
 
 xvesa="NO"
-v=`kenv xvesa`
+v=`kenv xvesa 2>/dev/null`
 if [ $? -eq 0 ]; then
    xvesa=$v
 fi



More information about the Commits mailing list