summaryrefslogtreecommitdiffstats
path: root/OculusConfigurationUtility.sh
diff options
context:
space:
mode:
authorBrad Davis <[email protected]>2014-05-23 01:52:35 -0700
committerBrad Davis <[email protected]>2014-05-23 01:52:35 -0700
commit1393f96fa857a59ca495e51ce8c704eb36e3eed7 (patch)
tree6c6a55b09df48d2ed5f8532c4403ea6f084d284b /OculusConfigurationUtility.sh
parent46acc0e194ff3c1f120199eeca8324b4502118e9 (diff)
Adding 0.3.2 Linux specific files
Diffstat (limited to 'OculusConfigurationUtility.sh')
-rw-r--r--OculusConfigurationUtility.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/OculusConfigurationUtility.sh b/OculusConfigurationUtility.sh
new file mode 100644
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
+