projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysupgrade: add optional delay before rebooting
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
lib
/
upgrade
/
common.sh
diff --git
a/package/base-files/files/lib/upgrade/common.sh
b/package/base-files/files/lib/upgrade/common.sh
index f0d0c20b900bd92dfb08f1889adad8b75123fb37..59ac7a70b4a324e12ee97a6bb1c83c551b95045a 100644
(file)
--- a/
package/base-files/files/lib/upgrade/common.sh
+++ b/
package/base-files/files/lib/upgrade/common.sh
@@
-147,5
+147,6
@@
do_upgrade() {
jffs2_copy_config
fi
}
+ [ -n "$DELAY" ] && sleep "$DELAY"
ask_bool 1 "Reboot" && reboot
}