git.openpandora.org
/
pandora-misc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flasher: revise autoboot handling
[pandora-misc.git]
/
flasher
/
rootfs
/
etc
/
updater_funcs.sh
diff --git
a/flasher/rootfs/etc/updater_funcs.sh
b/flasher/rootfs/etc/updater_funcs.sh
index
ab2c3a3
..
551b8bf
100644
(file)
--- a/
flasher/rootfs/etc/updater_funcs.sh
+++ b/
flasher/rootfs/etc/updater_funcs.sh
@@
-18,3
+18,16
@@
log_err()
echo -en "\033[0m" > $LOG_DEVICE
}
+wait_for_file()
+{
+ for a in `seq 10`
+ do
+ if test -e "$1"
+ then
+ return 0
+ fi
+ sleep .5
+ done
+ return 1
+}
+