onstartup.sh - исходный текст
#!/system/bin/sh
MARK=/data/local/fast_apks_installed
APK_DIR=/system/oranth/onstartup
#echo "
On Start Up
"
# bootanimation delay
setprop service.bootanim.delay 1
if [ ! -e $MARK ]; then
busybox cp -fv $APK_DIR/*.apk /data/app/
sync
chmod 777 /data/app/*.apk
# ln -sfv $APK_DIR/*.apk /data/app/
# busybox find $APK_DIR -name "*\.apk" -exec sh /system/bin/pm install -g {} \;
# sync
touch $MARK
sync
fi
# bootanimation delay
setprop service.bootanim.delay 0
#echo "
End Start Up
"