summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-06-21 07:11:02 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:14:00 +0000
commit8f4edcaebd060701ed8ccdaf5b09bd5545154c86 (patch)
tree1e460887d0bad2292aca194418b0da5079854bee /Library
parent65c27c5674227ae8ff7fd8eaa46cc1c9a5111004 (diff)
Added support for sbdidlaunch.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/startup5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/startup b/Library/startup
index 7f8b616..edceed1 100755
--- a/Library/startup
+++ b/Library/startup
@@ -1,7 +1,12 @@
#!/bin/bash
export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
+sbdidlaunch
+/usr/libexec/cydia/firmware.sh
debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
dpkg -i "${debs[@]}"
rm -f "${debs[@]}"
+ su -c uicache mobile
+elif ! grep Cydia /var/mobile/Library/Caches/com.apple.mobile.installation.plist &>/dev/null; then
+ su -c uicache mobile
fi