summaryrefslogtreecommitdiff
path: root/util/uname.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
commitd699a01fabaa04a1aad60f6ca5777f82ee24839a (patch)
tree1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /util/uname.sh
parent8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff)
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'util/uname.sh')
-rwxr-xr-xutil/uname.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/uname.sh b/util/uname.sh
new file mode 100755
index 000000000..db07673fc
--- /dev/null
+++ b/util/uname.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+OPTIND=1
+while getopts mnprsv OPTKEY; do
+ case $OPTKEY in
+ (m) echo 'iPhone1,1';;
+ (n) echo 'transponder';;
+ (p) echo 'unknown';;
+ (r) echo '9.0.0d1';;
+ (s) echo 'Darwin';;
+ (v) echo 'Darwin Kernel Version 9.0.0d1: Wed Sep 19 00:08:43 PDT 2007; root:xnu-933.0.0.203.obj~21/RELEASE_ARM_S5L8900XRB';;
+ esac
+done