]> git.saurik.com Git - cydia.git/blob - Library/startup
Added support for sbdidlaunch.
[cydia.git] / Library / startup
1 #!/bin/bash
2 export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
3 sbdidlaunch
4 /usr/libexec/cydia/firmware.sh
5 debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
6 if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
7 dpkg -i "${debs[@]}"
8 rm -f "${debs[@]}"
9 su -c uicache mobile
10 elif ! grep Cydia /var/mobile/Library/Caches/com.apple.mobile.installation.plist &>/dev/null; then
11 su -c uicache mobile
12 fi