zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/app/Script/scripts/start_update_app.sh b/ap/app/Script/scripts/start_update_app.sh
new file mode 100644
index 0000000..aec2890
--- /dev/null
+++ b/ap/app/Script/scripts/start_update_app.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+# $Id: lan.sh
+#
+
+update_type=`nv get update_type`
+fota_dm_vendor=`nv get fota_dm_vendor`
+if [ "$update_type" == "mifi_local" ]; then
+ echo "update_type: mifi_local"
+fi
+
+if [ "$update_type" == "mifi_fota" ]; then
+ echo "update_type: mifi_fota"
+ if [ "$fota_dm_vendor" == "zx" ]; then
+ fota_dm_zx &
+ else
+ fota_dm_gs &
+ fi
+fi
+
+if [ "$update_type" == "mdl_local" ]; then
+ echo "update_type: mdl_local"
+ localUpdate &
+fi
+
+if [ "$update_type" == "mdl_fota" ]; then
+ echo "update_type: mdl_fota"
+ if [ "$fota_dm_vendor" == "zx" ]; then
+ fota_dm_zx &
+ else
+ fota_dm_gs &
+ fi
+fi
+
+if [ "$update_type" == "none" ]; then
+ echo "update_type: none"
+fi
\ No newline at end of file