Merge "backuptool: Add an option to ensure running." into gingerbread
diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh
index d716ec3..cd3107b 100755
--- a/prebuilt/common/bin/backuptool.sh
+++ b/prebuilt/common/bin/backuptool.sh
@@ -18,7 +18,7 @@
}
check_installscript() {
- if [ -f "/tmp/.installscript" ];
+ if [ -f "/tmp/.installscript" -a ! -f "$S/etc/force_backuptool" ];
then
echo "/tmp/.installscript found. Skipping backuptool."
PROCEED=0;
@@ -70,6 +70,7 @@
lib/libvoicesearch.so
etc/hosts
etc/custom_backup_list.txt
+etc/force_backuptool
EOF
}