Revert busybox for CM7 compatibility, add exclamation point to format data
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 048077a..8b7c2f1 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -71,6 +71,15 @@
LOCAL_SRC_FILES := teamwin $(GEN)
include $(BUILD_PREBUILT)
+#bbinstall.sh
+include $(CLEAR_VARS)
+LOCAL_MODULE := bbinstall.sh
+LOCAL_MODULE_TAGS := eng
+LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
+LOCAL_SRC_FILES := $(LOCAL_MODULE)
+include $(BUILD_PREBUILT)
+
#fix_permissions
include $(CLEAR_VARS)
LOCAL_MODULE := fix_permissions.sh
diff --git a/prebuilt/bbinstall.sh b/prebuilt/bbinstall.sh
new file mode 100755
index 0000000..2aab969
--- /dev/null
+++ b/prebuilt/bbinstall.sh
@@ -0,0 +1,14 @@
+#!/sbin/sh
+
+if [ -f "/sbin/[" ];
+then
+exit
+fi
+
+for cmd in $(/sbin/busybox --list); do
+ /sbin/busybox ln -s /sbin/busybox /sbin/$cmd
+done
+
+ln -sf /sbin/pigz /sbin/gzip
+ln -sf /sbin/unpigz /sbin/gunzip
+rm /sbin/mkdosfs
\ No newline at end of file