[PC-BSD Commits] r17566 - in pcbsd/current/overlays/desktop-overlay/usr/local: bin etc/rc.d
svn at pcbsd.org
svn at pcbsd.org
Mon Jul 2 09:17:27 PDT 2012
Author: kris
Date: 2012-07-02 16:17:21 +0000 (Mon, 02 Jul 2012)
New Revision: 17566
Added:
pcbsd/current/overlays/desktop-overlay/usr/local/bin/xorg-startupcheck
Modified:
pcbsd/current/overlays/desktop-overlay/usr/local/etc/rc.d/gdm
Log:
Add new check at bootup. Now if Xorg fails to start (Usually when user
changes video card), it will detect this, and restart display wizard.
Index: pcbsd/current/overlays/desktop-overlay/usr/local/bin/xorg-startupcheck
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/bin/xorg-startupcheck 2012-07-02 16:15:59 UTC (rev 17565)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/bin/xorg-startupcheck 2012-07-02 16:17:21 UTC (rev 17566)
Property changes on: pcbsd/current/overlays/desktop-overlay/usr/local/bin/xorg-startupcheck
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
Modified: pcbsd/current/overlays/desktop-overlay/usr/local/etc/rc.d/gdm
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/etc/rc.d/gdm 2012-07-02 16:15:59 UTC (rev 17565)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/etc/rc.d/gdm 2012-07-02 16:17:21 UTC (rev 17566)
@@ -105,6 +105,10 @@
setup_firstboot
fi
+ # Start a background service that checks for X not starting
+ ( sleep 3 ; /usr/local/bin/xorg-startupcheck) &
+
+ # Start GDM now
LANG=${gdm_lang} ${command} ${gdm_flags} ) &
}
More information about the Commits
mailing list