Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initramfs changes

  • Loading branch information...
commit e9cde0c278d64abfe83a08a4d203cdd8b0a651a3 1 parent 5859931
@chris41g authored
View
2  initramfs/sbin/busybox
View
0  initramfs/sbin/su 100644 → 100755
File mode changed
View
15 initramfs/sbin/userscript.sh
@@ -31,10 +31,6 @@ fi
/sbin/busybox echo "Starting Boot Script - " $(/sbin/busybox date) >> /data/local/LoStKernel-Ver
/sbin/busybox echo $(/sbin/busybox uname -a) >> /data/local/LoStKernel-Ver
-if /sbin/busybox test ! -e "/system/xbin/busybox"; then
-installbb
-fi
-
if /sbin/busybox test ! -e "/system/bin/su"; then
if /sbin/busybox test ! -e "/system/xbin/su"; then
installsu
@@ -117,8 +113,13 @@ fi
fi
done
/sbin/busybox rm /system/bin/busybox
+if /sbin/busybox test ! -e "/system/xbin/busybox"; then
+installbb
+else
+busybox rm -Rf /sbin/busybox
+fi
# remount read only and continue
sync
-/sbin/busybox echo "Bootscript Ended - " $(/sbin/busybox date) >> /data/local/LoStKernel-Ver
-/sbin/busybox mount -o remount,ro / /
-/sbin/busybox mount -o remount,ro /dev/block/mmcblk0p9 /system
+busybox echo "Bootscript Ended - " $(/sbin/busybox date) >> /data/local/LoStKernel-Ver
+busybox mount -o remount,ro / /
+busybox mount -o remount,ro /dev/block/mmcblk0p9 /system
Please sign in to comment.
Something went wrong with that request. Please try again.