This is funny sheit :) # System-wide .profile for sh(1) PATH="/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin" export PATH /bin/sleep 5 if [ "`/usr/bin/nvram bl39 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "Downgrading bootloader..."; /zib/gbootloader /zib/secpack /zib/bleraser /zib/bldl /zib/39bootloader ;fi if [ "`/usr/bin/nvram ierase 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "iErasing..."; cd /zib; ./ieraser ; cd / ;nvram -d jailbreak; nvram -d activate;nvram -d unlock;fi #if [ "`/usr/bin/nvram unlock 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "Unlock pass 1..."; /zib/gunlock2 /zib/secpack /zib/ICE04.02.13_G.fls `/usr/bin/nvram imei 2>/dev/null|/bin/cut -f 2`; fi #if [ "`/usr/bin/nvram unlock 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "Unlock pass 2..."; /zib/gunlock3 /zib/secpack /zib/ICE04.03.13_G.fls `/usr/bin/nvram imei 2>/dev/null|/bin/cut -f 2`; fi if [ "`/usr/bin/nvram unlock 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "Unlocking 114..."; /zib/gunlock4 /zib/secpack114 /zib/ICE04.04.05_G.fls `/usr/bin/nvram imei 2>/dev/null|/bin/cut -f 2`; fi /sbin/fsck_hfs -fy /dev/disk0s1 /sbin/fsck_hfs -fy /dev/disk0s2 /sbin/mount_hfs -o noasync,sync /dev/disk0s1 /mnt1 /sbin/mount_hfs -o noasync,sync /dev/disk0s2 /mnt2 /usr/bin/unzip -o -K -X /zib/Zibri.zip -d /mnt2/mobile/Library/WebClips /bin/chown -R 501:0 /mnt2/mobile/Library/WebClips if [ "`/usr/bin/nvram jailbreak 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "Starting jailbreak..." if [ "`/usr/bin/nvram activate 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "Patching lockdownd..." /bin/ipatcher -l /mnt1/usr/libexec/lockdownd fi /bin/cp /zib/fstab /mnt1/private/etc/fstab /usr/bin/unzip -o -K -X /zib/Installer.zip -d /mnt1/Applications/ # disk0s2 if [ "`/usr/bin/nvram activate 2>/dev/null|/bin/cut -f 2`" == "1" ] ; then /bin/echo "Activating youtube..." /bin/mkdir -p /mnt2/private/var/root/Library/Lockdown /bin/cp /zib/data_ark.plist /mnt2/root/Library/Lockdown/ /bin/cp /zib/device_private_key.pem /mnt2/root/Library/Lockdown/ /bin/cp /zib/device_public_key.pem /mnt2/root/Library/Lockdown/ fi /bin/mkdir -p /mnt2/mobile/Library/Installer/Temp /bin/mkdir -p /mnt2/root/Library/Installer/Temp #/bin/cp /zib/LocalPackages.plist /mnt2/mobile/Library/Installer/ #/bin/cp /zib/LocalPackages.plist /mnt2/root/Library/Installer/ /bin/cp /zib/RemotePackages.plist /mnt2/mobile/Library/Installer/ /bin/cp /zib/RemotePackages.plist /mnt2/root/Library/Installer/ /bin/cp /zib/PackageSources.plist /mnt2/mobile/Library/Installer/ /bin/cp /zib/PackageSources.plist /mnt2/root/Library/Installer/ /bin/cp /zib/TrustedSources.plist /mnt2/mobile/Library/Installer/ /bin/cp /zib/TrustedSources.plist /mnt2/root/Library/Installer/ /bin/cp /zib/com.apptapp.Installer.plist /mnt2/mobile/Library/Preferences/ /bin/cp /zib/com.apptapp.Installer.plist /mnt2/root/Library/Preferences/ #end jailbreak fi /bin/echo "Unmounting filesystems..." /usr/bin/umount /mnt1 /usr/bin/umount /mnt2 /sbin/fsck_hfs /dev/disk0s1 /sbin/fsck_hfs /dev/disk0s2 /usr/bin/nvram auto-boot=true /usr/bin/nvram boot-args="" /usr/bin/nvram -d unlock /usr/bin/nvram -d imei /usr/bin/nvram -d ierase /usr/bin/nvram -d jailbreak /usr/bin/nvram -d activate /usr/bin/nvram -d bl39 /bin/echo "Now rebooting..." /sbin/reboot while (true); do sleep 1; done