/busybox mount -t proc none /proc
/busybox mount -t sysfs none /sys
/busybox mount -t tmpfs none /dev
/busybox sleep 1
/busybox mdev -s
/busybox mount -t ext4 -o noatime,nodiratime,errors=panic /dev/mmcblk0p21 /linux
/busybox sleep 1
for f in /linux ;do
if [-d /$f]; then
for g in /linux/$f;do
/busybox ln /linux/$f/$g /$f/$g ;
done
else
/busybox ln /linux/$f /$f ;
fi
done
/busybox umount /proc
/busybox umount /sys
/busybox umount /dev
# Launch delayed init script
/busybox nohub /init-android &
while [ ! -e /dev/.coldboot_done ]; do
/busybox sleep 1
done
# wait for Android init to signal all done
while [ -e /dev/.booting ]; do
/busybox sleep 1
done
export PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
exec /usr/local/bin/serviced