summaryrefslogtreecommitdiff
path: root/util/uname.sh
diff options
context:
space:
mode:
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