summaryrefslogtreecommitdiffstats
path: root/prebuilt/bbinstall.sh
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-28 18:34:33 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-28 18:34:33 +0200
commitce2fe779c028eeb198120b6d43e0a242a7113465 (patch)
treea41219ba7992552a06d55f8107a5192b974225d4 /prebuilt/bbinstall.sh
parentSave version number to storage (diff)
downloadandroid_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar
android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.gz
android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.bz2
android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.lz
android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.xz
android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.zst
android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.zip
Diffstat (limited to 'prebuilt/bbinstall.sh')
-rwxr-xr-xprebuilt/bbinstall.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/prebuilt/bbinstall.sh b/prebuilt/bbinstall.sh
new file mode 100755
index 000000000..2aab96958
--- /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