aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-07-30 17:42:39 +0200
committerJohn Crispin <john@phrozen.org>2018-07-30 17:42:39 +0200
commit5e1b4c57ded7898be5255aef594fa18ec206f0b2 (patch)
tree88103f65741c9267e95ab58e053d0ffe2d321557 /package/base-files/files/sbin
parent5660c8fb20d056eac495647bb1116883f269ed8d (diff)
downloadupstream-5e1b4c57ded7898be5255aef594fa18ec206f0b2.tar.gz
upstream-5e1b4c57ded7898be5255aef594fa18ec206f0b2.tar.bz2
upstream-5e1b4c57ded7898be5255aef594fa18ec206f0b2.zip
base-files: drop fwtool_pre_upgrade
this feature has never worked, the fw image name was not passed and the -t parameter was missing in the tool invocation. drop the feature. Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 482be068d9..a378b02950 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -137,7 +137,6 @@ add_overlayfiles() {
# hooks
sysupgrade_image_check="fwtool_check_image platform_check_image"
-sysupgrade_pre_upgrade="fwtool_pre_upgrade"
if [ $SAVE_OVERLAY = 1 ]; then
[ ! -d /overlay/upper/etc ] && {
@@ -264,8 +263,6 @@ else
rm -f /tmp/sysupgrade.always.overwrite.bootdisk.partmap
fi
-run_hooks "" $sysupgrade_pre_upgrade
-
install_bin /sbin/upgraded
v "Commencing upgrade. Closing all shell sessions."