projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base-files: move stage2 upgrade to separated file
[openwrt/staging/mkresin.git]
/
package
/
base-files
/
files
/
sbin
/
sysupgrade
diff --git
a/package/base-files/files/sbin/sysupgrade
b/package/base-files/files/sbin/sysupgrade
index 54d7a64b48524bf7918044394ee49e8da08e119b..73291262e7dc57915f63fc93e4338ab8a8b8fd6d 100755
(executable)
--- a/
package/base-files/files/sbin/sysupgrade
+++ b/
package/base-files/files/sbin/sysupgrade
@@
-363,7
+363,7
@@
fi
install_bin /sbin/upgraded
v "Commencing upgrade. Closing all shell sessions."
install_bin /sbin/upgraded
v "Commencing upgrade. Closing all shell sessions."
-COMMAND='
. /lib/functions.sh; include /lib/upgrade; do_upgrade
_stage2'
+COMMAND='
/lib/upgrade/do
_stage2'
if [ -n "$FAILSAFE" ]; then
printf '%s\x00%s\x00%s' "$RAM_ROOT" "$IMAGE" "$COMMAND" >/tmp/sysupgrade
if [ -n "$FAILSAFE" ]; then
printf '%s\x00%s\x00%s' "$RAM_ROOT" "$IMAGE" "$COMMAND" >/tmp/sysupgrade