summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-11-23 02:36:37 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2010-11-23 02:36:37 -0800
commitd890e8b8d837990529c247fe037612ab7e45ba8b (patch)
treeac357a2a676cd7b2789e7f073d4e927814fead07 /Library
parent9b083d0312cf210e09f34825f11b63badf0494aa (diff)
Instead of using sbdidlaunch, let's just spin on gssc.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/firmware.sh10
-rwxr-xr-xLibrary/startup1
2 files changed, 9 insertions, 2 deletions
diff --git a/Library/firmware.sh b/Library/firmware.sh
index 9326842..3e64e5c 100755
--- a/Library/firmware.sh
+++ b/Library/firmware.sh
@@ -90,7 +90,15 @@ EOF
if [[ ${cpu} == arm ]]; then
pseudo "firmware" "${version}" "almost impressive Apple frameworks"
- gssc 2>&1 | sed -re '
+ while [[ 1 ]]; do
+ gssc=$(gssc 2>&1)
+ if [[ ${gssc} != *'(null)'* ]]; then
+ break
+ fi
+ sleep 1
+ done
+
+ echo "${gssc}" | sed -re '
/^ [^ ]* = [0-9.]*;$/ ! d;
s/^ ([^ ]*) = ([0-9.]*);$/\1 \2/;
s/([A-Z])/-\L\1/g; s/^"([^ ]*)"/\1/;
diff --git a/Library/startup b/Library/startup
index 4d72c33..a51843b 100755
--- a/Library/startup
+++ b/Library/startup
@@ -1,7 +1,6 @@
#!/bin/bash
export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
-sbdidlaunch
if [[ ! -e /var/lib/cydia/firmware.ver ]]; then
cache=