diff options
Diffstat (limited to 'OculusConfigurationUtility.sh')
-rwxr-xr-x | OculusConfigurationUtility.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/OculusConfigurationUtility.sh b/OculusConfigurationUtility.sh new file mode 100755 index 0000000..a70d7f6 --- /dev/null +++ b/OculusConfigurationUtility.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +############################################################################# +# +# Filename : OculusConfigurationUtility.sh +# Content : Linux file for starting the OculusConfigurationUtility app +# from the SDK package root. It will determine the +# architechture of the system it is running on, and start the +# approprite executable +# Created : 2013 +# Authors : Simon Hallam +# Copyright : Copyright 2013 OculusVR, Inc. All Rights Reserved +# Instruction : Ensure that the OculusConfigurationUtility.sh has execute +# permissions. Navigate to a command shell, enter: +# +# ./OculusConfigurationUtility.sh +# +############################################################################# + +MACHINE_TYPE=`uname -m` +if [ ${MACHINE_TYPE} == 'x86_64' ]; then + ./Tools/OculusConfigUtil/OculusConfigUtil_x86_64 +elif [ ${MACHINE_TYPE} == 'i686' ]; then + ./Tools/OculusConfigUtil/OculusConfigUtil_i386 +else + echo "The Oculus Configuration Utility does not currently support this platform." +fi + |