Add basic change for v1453
Change-Id: I9497a61bbc3717f66413794a4e7dee0347c0bc33
diff --git a/mbtk/rootfs/etc/init.d/mbtk_boot_last b/mbtk/rootfs/etc/init.d/mbtk_boot_last
new file mode 100755
index 0000000..e660b6c
--- /dev/null
+++ b/mbtk/rootfs/etc/init.d/mbtk_boot_last
@@ -0,0 +1,28 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006-2011 OpenWrt.org
+
+START=98
+USE_PROCD=1
+
+#MBTK_ADB=`getprop persist.mbtk.adb 2> /dev/null`
+
+mbtk_start() {
+ echo "start : $1" > /dev/kmsg
+
+ if [ -e $1 ];then
+ procd_open_instance
+ procd_set_param command $@
+ procd_close_instance
+ fi
+}
+
+start_service() {
+ echo "--mbtk last boot start--" > /dev/kmsg
+# mbtk_start /bin/mbtk_test
+# mbtk_start /bin/mbtk_test "last" 123
+
+ [ -e /bin/mbtk_otad ] && mbtk_start /bin/mbtk_otad -a fota
+
+ echo "--mbtk last boot end--" > /dev/kmsg
+}
+