summaryrefslogtreecommitdiff
path: root/Library/startup
diff options
context:
space:
mode:
Diffstat (limited to 'Library/startup')
-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