Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
3ddiag
3Ddiag-result
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3Ddiag-result of Package 3ddiag
#!/bin/sh # Copyright (c) 2002 SuSE GmbH Nuernberg, Germany. All rights reserved. # # Author: Stefan Dirsch, 2002 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published # by the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 675 Mass Ave, Cambridge MA 02139, USA. # "===" means error message(s) in output of 3Ddiag or a not capable 3D device /usr/bin/3Ddiag $* | grep "===" &> /dev/null if [ $? -ne 0 ]; then if [ -e /var/lib/YaST2/runme_at_boot -a \ ! -e /var/lib/YaST2/update_mode ]; then # installation and not update; X11 not configured yet; # default configuration is 2D exit 1 else # correctly configured 3D capable device ==> play 3D games exit 0 fi else # misconfigured or not 3D capable device ==> very slow 3D games exit 1 fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor