diff options
-rwxr-xr-x | Library/firmware.sh | 10 | ||||
-rwxr-xr-x | Library/startup | 1 |
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= |