diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-23 02:36:37 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-23 02:36:37 -0800 |
commit | d890e8b8d837990529c247fe037612ab7e45ba8b (patch) | |
tree | ac357a2a676cd7b2789e7f073d4e927814fead07 /Library/firmware.sh | |
parent | 9b083d0312cf210e09f34825f11b63badf0494aa (diff) |
Instead of using sbdidlaunch, let's just spin on gssc.
Diffstat (limited to 'Library/firmware.sh')
-rwxr-xr-x | Library/firmware.sh | 10 |
1 files changed, 9 insertions, 1 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/; |